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

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.SchedulerStateModelImp
All Implemented Interfaces:
SchedulerStateModel, java.io.Serializable, StateModel

public class SchedulerStateModelImp
extends java.lang.Object
implements SchedulerStateModel, java.io.Serializable

Version:
$Revision: 1.10 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.util.Calendar date
          The first visible Date in the Scheduler Control
private static long serialVersionUID
          Serial Version UID
private  SchedulerView view
          Specifies the style used to display dates in a Scheduler control
 
Fields inherited from interface com.cc.framework.ui.model.SchedulerStateModel
PROP_VIEW
 
Fields inherited from interface com.cc.framework.ui.model.StateModel
PROP_CONTROL
 
Constructor Summary
SchedulerStateModelImp()
           
 
Method Summary
 java.util.Calendar getDate()
          Retrieves the first visible Date in the Scheduler Control
 SchedulerView getView()
           
 void reset()
          Resets the actual state of a control to the initial state
 void setDate(java.util.Calendar date)
          Sets the first visible Date in the Scheduler Control
 void setView(SchedulerView view)
          Specifies the style used to display dates in a Scheduler control
 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

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

view

private SchedulerView view
Specifies the style used to display dates in a Scheduler control


date

private java.util.Calendar date
The first visible Date in the Scheduler Control

Constructor Detail

SchedulerStateModelImp

public SchedulerStateModelImp()
Method Detail

getView

public SchedulerView getView()
Specified by:
getView in interface SchedulerStateModel
Returns:
Returns the style used to display dates in a Scheduler control
See Also:
SchedulerStateModel.getView()

setView

public void setView(SchedulerView view)
Description copied from interface: SchedulerStateModel
Specifies the style used to display dates in a Scheduler control

Specified by:
setView in interface SchedulerStateModel
Parameters:
view - The View
See Also:
SchedulerStateModel.setView(com.cc.framework.ui.model.SchedulerView)

getDate

public java.util.Calendar getDate()
Description copied from interface: SchedulerStateModel
Retrieves the first visible Date in the Scheduler Control

Specified by:
getDate in interface SchedulerStateModel
Returns:
First visible Date
See Also:
SchedulerStateModel.getDate()

setDate

public void setDate(java.util.Calendar date)
Description copied from interface: SchedulerStateModel
Sets the first visible Date in the Scheduler Control

Specified by:
setDate in interface SchedulerStateModel
Parameters:
date - The first visible Date
See Also:
SchedulerStateModel.setDate(java.util.Calendar)

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.