com.cc.framework.ui.model.imp
Class FrameStateModelImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.FrameStateModelImp
All Implemented Interfaces:
FrameStateModel, StateModel

public class FrameStateModelImp
extends java.lang.Object
implements FrameStateModel

Version:
$Revision$
Author:
Harald Schulz

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

PROP_OPEN

public java.lang.String PROP_OPEN
State property for the open state


PROP_EXPANSION

public java.lang.String PROP_EXPANSION
State property for the expansion state


EXP_MINIMIZED

private static final int EXP_MINIMIZED
See Also:
Constant Field Values

EXP_MAXIMIZED

private static final int EXP_MAXIMIZED
See Also:
Constant Field Values

open

private boolean open

expansionState

private int expansionState
Constructor Detail

FrameStateModelImp

public FrameStateModelImp()
Constructor

Method Detail

close

public void close()
Description copied from interface: FrameStateModel
Changes the state of the frame to closed

Specified by:
close in interface FrameStateModel
See Also:
FrameStateModel.close()

isClosed

public boolean isClosed()
Specified by:
isClosed in interface FrameStateModel
Returns:
returns true when the Frame is closed
See Also:
FrameStateModel.isClosed()

isMaximized

public boolean isMaximized()
Specified by:
isMaximized in interface FrameStateModel
Returns:
returns true when the Frame is maximized
See Also:
FrameStateModel.isMaximized()

isMinimized

public boolean isMinimized()
Specified by:
isMinimized in interface FrameStateModel
Returns:
returns true when the Frame is minimized
See Also:
FrameStateModel.isMinimized()

isOpen

public boolean isOpen()
Specified by:
isOpen in interface FrameStateModel
Returns:
returns true when the Frame is opened
See Also:
FrameStateModel.isOpen()

maximize

public void maximize()
Description copied from interface: FrameStateModel
Maximizes the frame

Specified by:
maximize in interface FrameStateModel
See Also:
FrameStateModel.maximize()

minimize

public void minimize()
Description copied from interface: FrameStateModel
Minimizes the frame

Specified by:
minimize in interface FrameStateModel
See Also:
FrameStateModel.minimize()

open

public void open()
Description copied from interface: FrameStateModel
Changes the state of the frame to opened

Specified by:
open in interface FrameStateModel
See Also:
FrameStateModel.open()

restore

public void restore()
Description copied from interface: FrameStateModel
Restores the frame

Specified by:
restore in interface FrameStateModel
See Also:
FrameStateModel.restore()

reset

public void reset()
Description copied from interface: StateModel
Resets the actual state of a control to the initial state

Specified by:
reset in interface StateModel
See Also:
StateModel.reset()

synchronizeState

public void synchronizeState(PropertyMap properties)
                      throws java.lang.Exception
Description copied from interface: StateModel
This method applies the given state properties to the controls state model

Specified by:
synchronizeState in interface StateModel
Parameters:
properties - State properties
Throws:
java.lang.Exception - is thrown when an error occurs during execution
See Also:
StateModel.synchronizeState(com.cc.framework.util.PropertyMap)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.