|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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
and if enabled the window can diplay the modes specific URL instead of it's normal 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 | |
protected |
WindowMode(com.bea.netuix.nf.state.ControlStateReader reader)
Constructs a window mode from the given reader. |
|
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()
If the contentUri is a pageflow, there is an option to set the action to run. |
String |
getBackingFile()
Returns the backing file for this mode. |
String |
getContentUri()
Getter for the content uri when the window is in this mode. |
String |
getCurrentContentUri()
Getter for the current content uri |
String |
getErrorUri()
Getter for error url. |
void |
setAction(String action)
If the contentUri is a pageflow, there is an option to set the action to run. |
void |
setBackingFile(String backingFile)
Sets the backing file for this mode. |
void |
setContentUri(String contentUri)
Setter for alternate content url. |
void |
setCurrentContentUri(String currentContentUri)
Setter for the current content uri |
void |
setErrorUri(String errorUri)
Setter for error url. |
String |
toString()
Returns a string. |
protected void |
write(com.bea.netuix.nf.state.ControlStateWriter writer)
Writes the state to the writer. |
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)
name
- of this mode (must be unique)contentUri
- optional url the window will render if this mode is enabledprotected WindowMode(com.bea.netuix.nf.state.ControlStateReader reader)
Constructs a window mode from the given reader.
reader
- readerMethod Detail |
public String getContentUri()
public void setContentUri(String contentUri)
public String getErrorUri()
public void setErrorUri(String errorUri)
public String getCurrentContentUri()
public void setCurrentContentUri(String currentContentUri)
public String getBackingFile()
Returns the backing file for this mode.
public void setBackingFile(String backingFile)
Sets the backing file for this mode.
backingFile
- backing filepublic Object clone()
clone
in class Object
public boolean equals(WindowMode windowMode)
public String toString()
Capability
Returns a string.
toString
in class Capability
public String getAction()
public void setAction(String action)
action
- protected void write(com.bea.netuix.nf.state.ControlStateWriter writer)
Writes the state to the writer.
writer
- writer
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |