|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.stanford.hci.dtools.statechart.model.ModelElement
edu.stanford.hci.dtools.statechart.model.ShapeModel
edu.stanford.hci.dtools.statechart.model.IOModel
edu.stanford.hci.dtools.statechart.model.OutputModel
edu.stanford.hci.dtools.statechart.model.DisplayModel
public class DisplayModel
Model for display screens
This software is distributed under the BSD License.
| Field Summary | |
|---|---|
static java.lang.String |
DISPLAY_PROP
Property ID to use when a child is added to this diagram. |
| 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 | |
|---|---|
DisplayModel(DisplayModel copy)
|
|
DisplayModel(IOComponent model)
|
|
DisplayModel(IOComponent model,
java.lang.String image)
|
|
| Method Summary | |
|---|---|
DisplayModel |
copy()
|
java.lang.String |
getImage()
|
java.lang.Object |
getPropertyValue(java.lang.Object id)
Returns the value as String for the Property Sheet |
java.lang.String |
getScreenviewImageFilename()
|
java.lang.String |
getStatechartImageFilename()
|
void |
realizeStateEntryInHardware(HardwareOutputDispatcher hwOutput)
Called upon entrance to a state |
void |
realizeStateUpdateInHardware(HardwareOutputDispatcher hwOutput)
Called when a state is updated |
void |
setImage(java.lang.String filename)
Sets the image that shows on the screen |
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
Set the property value for the given property id. |
void |
setScreenviewImageFilename(java.lang.String screenviewImageFilename)
|
void |
setStatechartImageFilename(java.lang.String statechartImageFilename)
|
| Methods inherited from class edu.stanford.hci.dtools.statechart.model.OutputModel |
|---|
getGlobalComponent |
| Methods inherited from class edu.stanford.hci.dtools.statechart.model.IOModel |
|---|
getDimensions, getDimensions, getIcon, getLocation, getLocation, getName, getPropertyDescriptors |
| 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 |
| Field Detail |
|---|
public static final java.lang.String DISPLAY_PROP
| Constructor Detail |
|---|
public DisplayModel(IOComponent model)
public DisplayModel(IOComponent model,
java.lang.String image)
public DisplayModel(DisplayModel copy)
| Method Detail |
|---|
public DisplayModel copy()
copy in class IOModelpublic void setImage(java.lang.String filename)
filename - public java.lang.String getImage()
public java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcegetPropertyValue in class IOModelIPropertySource.getPropertyValue(java.lang.Object)
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
IOModelThe property view uses the IDs from the IPropertyDescriptors array to set the values of the corresponding properties.
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcesetPropertyValue in class IOModelShapeModel.descriptors,
IOModel.getPropertyDescriptors()public void realizeStateEntryInHardware(HardwareOutputDispatcher hwOutput)
OutputModel
realizeStateEntryInHardware in class OutputModelpublic void realizeStateUpdateInHardware(HardwareOutputDispatcher hwOutput)
OutputModel
realizeStateUpdateInHardware in class OutputModelpublic java.lang.String getScreenviewImageFilename()
public void setScreenviewImageFilename(java.lang.String screenviewImageFilename)
public java.lang.String getStatechartImageFilename()
public void setStatechartImageFilename(java.lang.String statechartImageFilename)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||