edu.stanford.hci.dtools.statechart.model
Class ButtonModel

java.lang.Object
  extended by edu.stanford.hci.dtools.statechart.model.ModelElement
      extended by edu.stanford.hci.dtools.statechart.model.ShapeModel
          extended by edu.stanford.hci.dtools.statechart.model.IOModel
              extended by edu.stanford.hci.dtools.statechart.model.InputModel
                  extended by edu.stanford.hci.dtools.statechart.model.ButtonModel
All Implemented Interfaces:
java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource

public class ButtonModel
extends InputModel

Model for individual Buttons in the ShapeEditor

This software is distributed under the BSD License.

Author:
Michael Bernstein ( mbernst(AT)stanford.edu ), Bjoern Hartmann ( bjoern(AT)stanford.edu )
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.stanford.hci.dtools.statechart.model.ShapeModel
DIAGRAM_PROP, LOCATION_PROP, SIZE_PROP, SOURCE_CONNECTIONS_PROP, TARGET_CONNECTIONS_PROP
 
Constructor Summary
ButtonModel(ButtonModel copy)
           
ButtonModel(InputComponent input)
           
 
Method Summary
 ButtonModel copy()
           
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.InputModel
getGlobalComponent
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.IOModel
getDimensions, getDimensions, getIcon, getLocation, getLocation, getName, getPropertyDescriptors, getPropertyValue, setPropertyValue
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.ShapeModel
createImage, getDiagramModel, getSize, getSourceConnections, getTargetConnections, setDiagramModel, setLocation, setSize
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.ModelElement
addPropertyChangeListener, getEditableValue, isPropertySet, removePropertyChangeListener, resetPropertyValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonModel

public ButtonModel(InputComponent input)

ButtonModel

public ButtonModel(ButtonModel copy)
Method Detail

copy

public ButtonModel copy()
Specified by:
copy in class IOModel