|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FrameStateModel
FrameStateModel.close()
public boolean isClosed()
isClosed
in interface FrameStateModel
true
when the Frame is closedFrameStateModel.isClosed()
public boolean isMaximized()
isMaximized
in interface FrameStateModel
true
when the Frame is maximizedFrameStateModel.isMaximized()
public boolean isMinimized()
isMinimized
in interface FrameStateModel
true
when the Frame is minimizedFrameStateModel.isMinimized()
public boolean isOpen()
isOpen
in interface FrameStateModel
true
when the Frame is openedFrameStateModel.isOpen()
public void maximize()
FrameStateModel
maximize
in interface FrameStateModel
FrameStateModel.maximize()
public void minimize()
FrameStateModel
minimize
in interface FrameStateModel
FrameStateModel.minimize()
public void open()
FrameStateModel
open
in interface FrameStateModel
FrameStateModel.open()
public void restore()
FrameStateModel
restore
in interface FrameStateModel
FrameStateModel.restore()
public void reset()
StateModel
reset
in interface StateModel
StateModel.reset()
public void synchronizeState(PropertyMap properties) throws java.lang.Exception
StateModel
synchronizeState
in interface StateModel
properties
- 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 |