|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.FrameStateModelImp
| Field Summary | |
private static int |
EXP_MAXIMIZED
|
private static int |
EXP_MINIMIZED
|
private int |
expansionState
|
private boolean |
open
|
java.lang.String |
PROP_EXPANSION
State property for the expansion state |
java.lang.String |
PROP_OPEN
State property for the open state |
| Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
| Constructor Summary | |
FrameStateModelImp()
Constructor |
|
| Method Summary | |
void |
close()
Changes the state of the frame to closed |
boolean |
isClosed()
|
boolean |
isMaximized()
|
boolean |
isMinimized()
|
boolean |
isOpen()
|
void |
maximize()
Maximizes the frame |
void |
minimize()
Minimizes the frame |
void |
open()
Changes the state of the frame to opened |
void |
reset()
Resets the actual state of a control to the initial state |
void |
restore()
Restores the frame |
void |
synchronizeState(PropertyMap properties)
This method applies the given state properties to the controls state model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String PROP_OPEN
public java.lang.String PROP_EXPANSION
private static final int EXP_MINIMIZED
private static final int EXP_MAXIMIZED
private boolean open
private int expansionState
| Constructor Detail |
public FrameStateModelImp()
| Method Detail |
public void close()
FrameStateModel
close in interface FrameStateModelFrameStateModel.close()public boolean isClosed()
isClosed in interface FrameStateModeltrue when the Frame is closedFrameStateModel.isClosed()public boolean isMaximized()
isMaximized in interface FrameStateModeltrue when the Frame is maximizedFrameStateModel.isMaximized()public boolean isMinimized()
isMinimized in interface FrameStateModeltrue when the Frame is minimizedFrameStateModel.isMinimized()public boolean isOpen()
isOpen in interface FrameStateModeltrue when the Frame is openedFrameStateModel.isOpen()public void maximize()
FrameStateModel
maximize in interface FrameStateModelFrameStateModel.maximize()public void minimize()
FrameStateModel
minimize in interface FrameStateModelFrameStateModel.minimize()public void open()
FrameStateModel
open in interface FrameStateModelFrameStateModel.open()public void restore()
FrameStateModel
restore in interface FrameStateModelFrameStateModel.restore()public void reset()
StateModel
reset in interface StateModelStateModel.reset()
public void synchronizeState(PropertyMap properties)
throws java.lang.Exception
StateModel
synchronizeState in interface StateModelproperties - State properties
java.lang.Exception - is thrown when an error occurs during executionStateModel.synchronizeState(com.cc.framework.util.PropertyMap)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||