|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.rcfaces.core.internal.component.CameliaOutputComponent
org.rcfaces.core.component.ViewDialogComponent
public class ViewDialogComponent
The viewDialog component represents popup modal view. It is based on the standard HTML tag <IFrame>.
The viewDialog Component has the following capabilities :
The default viewDialog renderer is linked to the f_viewDialog javascript class. f_viewDialog extends f_dialog, fa_immediate
Table of component style classes:
| Style Name | Description |
|---|---|
| f_viewDialog | Defines styles for the wrapper FRAME element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIOutput |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.ITextDirectionCapability |
|---|
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION |
| Fields inherited from interface org.rcfaces.core.component.capability.IDialogPriorityCapability |
|---|
MAX_PRIORITY |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
ViewDialogComponent()
|
|
ViewDialogComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addCloseListener(ICloseListener listener)
Adds a listener to the component for the close event |
String |
getAriaLabel()
|
String |
getAriaLabel(FacesContext facesContext)
See getAriaLabel() for more details |
int |
getAriaLevel()
|
int |
getAriaLevel(FacesContext facesContext)
See getAriaLevel() for more details |
protected Set |
getCameliaFields()
|
int |
getDialogPriority()
|
int |
getDialogPriority(FacesContext facesContext)
See getDialogPriority() for more details |
String |
getHeight()
Returns a string value (as specified by CSS) for the height of the component. |
String |
getHeight(FacesContext facesContext)
See getHeight() for more details |
int |
getHiddenMode()
Returns the hidden mode in client side. |
int |
getHiddenMode(FacesContext facesContext)
See getHiddenMode() for more details |
IContentAccessors |
getImageAccessors()
Returns ImageAccessors associated to the url. |
IContentAccessors |
getImageAccessors(FacesContext facesContext)
|
String |
getImageURL()
Returns the URL of the image. |
String |
getImageURL(FacesContext facesContext)
See getImageURL() for more details |
String |
getLookId()
Returns a string value specifying the choosen look of the component. |
String |
getLookId(FacesContext facesContext)
See getLookId() for more details |
String |
getShellDecoratorName()
|
String |
getShellDecoratorName(FacesContext facesContext)
|
String |
getStyleClass()
Returns the style class of the component. |
String |
getStyleClass(FacesContext facesContext)
See getStyleClass() for more details |
String |
getText()
Returns a string value specifying the text shown. |
String |
getText(FacesContext facesContext)
See getText() for more details |
int |
getTextDirection()
|
int |
getTextDirection(FacesContext facesContext)
See getTextDirection() for more details |
String |
getViewURL()
|
String |
getViewURL(FacesContext facesContext)
|
Boolean |
getVisibleState()
Returns if the receiver is
visible, if the receiver is
specified "not visible", and null otherwise. |
Boolean |
getVisibleState(FacesContext facesContext)
|
String |
getWaiRole()
|
String |
getWaiRole(FacesContext facesContext)
See getWaiRole() for more details |
String |
getWidth()
Returns a string value (as specified by CSS) for the width of the component. |
String |
getWidth(FacesContext facesContext)
See getWidth() for more details |
boolean |
isAriaLabelSetted()
Returns true if the attribute "ariaLabel" is set. |
boolean |
isAriaLevelSetted()
Returns true if the attribute "ariaLevel" is set. |
boolean |
isClosable()
Experimental : Do not use ! |
boolean |
isClosable(FacesContext facesContext)
See isClosable() for more details |
boolean |
isClosableSetted()
Returns true if the attribute "closable" is set. |
boolean |
isDialogPrioritySetted()
Returns true if the attribute "dialogPriority" is set. |
boolean |
isHeightSetted()
Returns true if the attribute "height" is set. |
boolean |
isHiddenModeSetted()
Returns true if the attribute "hiddenMode" is set. |
boolean |
isImageURLSetted()
Returns true if the attribute "imageURL" is set. |
boolean |
isImmediate()
Returns a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
boolean |
isImmediate(FacesContext facesContext)
See isImmediate() for more details |
boolean |
isImmediateSetted()
Returns true if the attribute "immediate" is set. |
boolean |
isLookIdSetted()
Returns true if the attribute "lookId" is set. |
boolean |
isShellDecoratorNameSetted()
Returns true if the attribute "shellDecoratorName" is set. |
boolean |
isStyleClassSetted()
Returns true if the attribute "styleClass" is set. |
boolean |
isTextDirectionSetted()
Returns true if the attribute "textDirection" is set. |
boolean |
isTextSetted()
Returns true if the attribute "text" is set. |
boolean |
isViewURLSetted()
Returns true if the attribute "viewURL" is set. |
boolean |
isVisible()
|
boolean |
isVisible(FacesContext facesContext)
See isVisible() for more details |
boolean |
isVisibleSetted()
Returns true if the attribute "visible" is set. |
boolean |
isWaiRoleSetted()
Returns true if the attribute "waiRole" is set. |
boolean |
isWidthSetted()
Returns true if the attribute "width" is set. |
FacesListener[] |
listCloseListeners()
Returns a list of close listener for the component |
void |
removeCloseListener(ICloseListener listener)
Removes a listener from the component for the close event |
void |
setAriaLabel(String ariaLabel)
|
void |
setAriaLevel(int ariaLevel)
|
void |
setClosable(boolean closable)
Experimental : Do not use ! |
void |
setDialogPriority(int dialogPriority)
|
void |
setHeight(String height)
Sets a string value (as specified by CSS) for the height of the component. |
void |
setHiddenMode(int hiddenMode)
Set the hidden mode in client side. |
void |
setHiddenMode(String hiddenMode)
|
void |
setImageURL(String imageURL)
Specify the URL of the image. |
void |
setImmediate(boolean immediate)
Sets a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
void |
setLookId(String lookId)
Sets a string value specifying the choosen look of the component. |
void |
setShellDecoratorName(String shellDecoratorName)
|
void |
setStyleClass(String styleClass)
Specify the style class of the component. |
void |
setText(String text)
Sets a string value specifying the text to be shown. |
void |
setTextDirection(int textDirection)
|
void |
setViewURL(String viewURL)
|
void |
setVisible(boolean visible)
Marks the receiver as visible if the argument is , and marks it invisible if
argument is . |
void |
setWaiRole(String waiRole)
|
void |
setWidth(String width)
Sets a string value (as specified by CSS) for the width of the component. |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public ViewDialogComponent()
public ViewDialogComponent(String componentId)
| Method Detail |
|---|
public IContentAccessors getImageAccessors(FacesContext facesContext)
getImageAccessors in interface org.rcfaces.core.internal.capability.IImageAccessorsCapabilitypublic void setHiddenMode(String hiddenMode)
public Boolean getVisibleState(FacesContext facesContext)
public String getImageURL()
IImageCapability
getImageURL in interface IImageCapabilitypublic String getImageURL(FacesContext facesContext)
getImageURL() for more details
public final boolean isImageURLSetted()
true if the attribute "imageURL" is set.
true if the attribute is set.public void setImageURL(String imageURL)
IImageCapability
setImageURL in interface IImageCapabilitypublic IContentAccessors getImageAccessors()
IImageCapability
getImageAccessors in interface IImageCapabilitypublic String getStyleClass()
IStyleClassCapability
getStyleClass in interface IStyleClassCapabilitypublic String getStyleClass(FacesContext facesContext)
getStyleClass() for more details
public final boolean isStyleClassSetted()
true if the attribute "styleClass" is set.
true if the attribute is set.public void setStyleClass(String styleClass)
IStyleClassCapability
setStyleClass in interface IStyleClassCapabilitystyleClass - style classpublic String getText()
ITextCapability
getText in interface ITextCapabilitypublic String getText(FacesContext facesContext)
getText() for more details
public final boolean isTextSetted()
true if the attribute "text" is set.
true if the attribute is set.public void setText(String text)
ITextCapability
setText in interface ITextCapabilitytext - textpublic int getTextDirection()
getTextDirection in interface ITextDirectionCapabilitypublic int getTextDirection(FacesContext facesContext)
getTextDirection() for more details
public final boolean isTextDirectionSetted()
true if the attribute "textDirection" is set.
true if the attribute is set.public void setTextDirection(int textDirection)
setTextDirection in interface ITextDirectionCapabilitypublic boolean isVisible()
isVisible in interface IVisibilityCapabilitypublic boolean isVisible(FacesContext facesContext)
isVisible() for more details
public final boolean isVisibleSetted()
true if the attribute "visible" is set.
true if the attribute is set.public void setVisible(boolean visible)
IVisibilityCapabilityTRUE, and marks it invisible if
argument is FALSE.
setVisible in interface IVisibilityCapabilityvisible - the new visibility state.public Boolean getVisibleState()
IVisibilityCapabilityTRUE if the receiver is
visible, FALSE if the receiver is
specified "not visible", and null otherwise.
getVisibleState in interface IVisibilityCapabilitypublic int getDialogPriority()
getDialogPriority in interface IDialogPriorityCapabilitypublic int getDialogPriority(FacesContext facesContext)
getDialogPriority() for more details
public final boolean isDialogPrioritySetted()
true if the attribute "dialogPriority" is set.
true if the attribute is set.public void setDialogPriority(int dialogPriority)
setDialogPriority in interface IDialogPriorityCapabilitypublic String getWidth()
IWidthCapability
getWidth in interface IWidthCapabilitypublic String getWidth(FacesContext facesContext)
getWidth() for more details
public final boolean isWidthSetted()
true if the attribute "width" is set.
true if the attribute is set.public void setWidth(String width)
IWidthCapability
setWidth in interface IWidthCapabilitywidth - widthpublic String getHeight()
IHeightCapability
getHeight in interface IHeightCapabilitypublic String getHeight(FacesContext facesContext)
getHeight() for more details
public final boolean isHeightSetted()
true if the attribute "height" is set.
true if the attribute is set.public void setHeight(String height)
IHeightCapability
setHeight in interface IHeightCapabilityheight - heightpublic int getHiddenMode()
IHiddenModeCapability
getHiddenMode in interface IHiddenModeCapabilitypublic int getHiddenMode(FacesContext facesContext)
getHiddenMode() for more details
public final boolean isHiddenModeSetted()
true if the attribute "hiddenMode" is set.
true if the attribute is set.public void setHiddenMode(int hiddenMode)
IHiddenModeCapability
setHiddenMode in interface IHiddenModeCapabilityhiddenMode - hidden modepublic String getLookId()
ILookAndFeelCapability
getLookId in interface ILookAndFeelCapabilitypublic String getLookId(FacesContext facesContext)
getLookId() for more details
public final boolean isLookIdSetted()
true if the attribute "lookId" is set.
true if the attribute is set.public void setLookId(String lookId)
ILookAndFeelCapability
setLookId in interface ILookAndFeelCapabilitylookId - lookIdpublic String getAriaLabel()
getAriaLabel in interface IWAIRoleCapabilitypublic String getAriaLabel(FacesContext facesContext)
getAriaLabel() for more details
public final boolean isAriaLabelSetted()
true if the attribute "ariaLabel" is set.
true if the attribute is set.public void setAriaLabel(String ariaLabel)
setAriaLabel in interface IWAIRoleCapabilitypublic int getAriaLevel()
getAriaLevel in interface IWAIRoleCapabilitypublic int getAriaLevel(FacesContext facesContext)
getAriaLevel() for more details
public final boolean isAriaLevelSetted()
true if the attribute "ariaLevel" is set.
true if the attribute is set.public void setAriaLevel(int ariaLevel)
setAriaLevel in interface IWAIRoleCapabilitypublic String getWaiRole()
getWaiRole in interface IWAIRoleCapabilitypublic String getWaiRole(FacesContext facesContext)
getWaiRole() for more details
public final boolean isWaiRoleSetted()
true if the attribute "waiRole" is set.
true if the attribute is set.public void setWaiRole(String waiRole)
setWaiRole in interface IWAIRoleCapabilitypublic final void addCloseListener(ICloseListener listener)
ICloseEventCapability
addCloseListener in interface ICloseEventCapabilitylistener - the close listener to addpublic final void removeCloseListener(ICloseListener listener)
ICloseEventCapability
removeCloseListener in interface ICloseEventCapabilitylistener - the close listener to removepublic final FacesListener[] listCloseListeners()
ICloseEventCapability
listCloseListeners in interface ICloseEventCapabilitypublic boolean isClosable()
IClosableCapability
isClosable in interface IClosableCapabilitytrue is the component can be closed.public boolean isClosable(FacesContext facesContext)
isClosable() for more details
public final boolean isClosableSetted()
true if the attribute "closable" is set.
true if the attribute is set.public void setClosable(boolean closable)
IClosableCapability
setClosable in interface IClosableCapabilitypublic boolean isImmediate()
IImmediateCapability
isImmediate in interface IImmediateCapabilitypublic boolean isImmediate(FacesContext facesContext)
isImmediate() for more details
public final boolean isImmediateSetted()
true if the attribute "immediate" is set.
true if the attribute is set.public void setImmediate(boolean immediate)
IImmediateCapability
setImmediate in interface IImmediateCapabilityimmediate - booleanpublic String getViewURL()
public String getViewURL(FacesContext facesContext)
public void setViewURL(String viewURL)
public boolean isViewURLSetted()
true if the attribute "viewURL" is set.
true if the attribute is set.public String getShellDecoratorName()
public String getShellDecoratorName(FacesContext facesContext)
public void setShellDecoratorName(String shellDecoratorName)
public boolean isShellDecoratorNameSetted()
true if the attribute "shellDecoratorName" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaOutputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||