|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.Capability
com.bea.netuix.servlets.controls.window.WindowMode
Represents a mode
the window may be in. Modes can be enabled or disabled.
If enabled, the window can display content from the mode's URI instead of the normal
window content.
A window can only be in one mode at time.
WindowMode extends Capability
as the user needs to be entitled to set a
Window into a particular mode.
Constructor Summary | |
WindowMode(String name,
String contentUri)
Constructor - with mode enabled set to false |
Method Summary | |
Object |
clone()
Create a exact copy of this object. |
boolean |
equals(WindowMode windowMode)
|
String |
getAction()
Get the action to run if the contentUri is for a PageFlow. |
String |
getBackingFile()
Returns the backing file for this mode. |
String |
getContentUri()
Get the uri for the content to be displayed when the window is in this mode. |
String |
getCurrentContentUri()
Getter for the content uri currently in use. |
String |
getErrorUri()
Get the uri for the content to be displayed on errors. |
void |
setAction(String action)
If the contentUri is for a pageflow, there is an option to set the action to run when the pageflow is first entered. |
void |
setBackingFile(String backingFile)
Sets the backing file for this mode. |
void |
setContentUri(String contentUri)
Set the uri for the content to be displayed when the window is in this mode. |
void |
setCurrentContentUri(String currentContentUri)
Setter for the content uri currently in use. |
void |
setErrorUri(String errorUri)
Set the uri for the content to be displayed on errors. |
String |
toString()
Returns this Capability as a String . |
Methods inherited from class com.bea.netuix.servlets.controls.Capability |
equals, equals, getName, isEntitlementsEnabled, setEntitlementsEnabled, setName |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WindowMode(String name, String contentUri)
Method Detail |
public Object clone()
public boolean equals(WindowMode windowMode)
public String getAction()
public String getBackingFile()
Returns the backing file for this mode.
public String getContentUri()
public String getCurrentContentUri()
public String getErrorUri()
public void setAction(String action)
action
- public void setBackingFile(String backingFile)
Sets the backing file for this mode.
backingFile
- backing filepublic void setContentUri(String contentUri)
public void setCurrentContentUri(String currentContentUri)
public void setErrorUri(String errorUri)
public String toString()
Capability
Returns this Capability
as a String
.
toString
in class Capability
String
representation of this Capability
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |