edu.stanford.hci.dtools.deviceeditor.components
Class DisplayComponent
java.lang.Object
edu.stanford.hci.dtools.statechart.model.ModelElement
edu.stanford.hci.dtools.deviceeditor.components.IOComponent
edu.stanford.hci.dtools.deviceeditor.components.OutputComponent
edu.stanford.hci.dtools.deviceeditor.components.DisplayComponent
- All Implemented Interfaces:
- java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource
public class DisplayComponent
- extends OutputComponent
Component class for an LCD display.
This software is distributed under the
BSD License.
- Author:
- Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein ( mbernst(AT)stanford.edu )
- See Also:
- Serialized Form
Method Summary |
IOComponent |
getCopy()
|
java.lang.String |
getDefaultImage()
Return a string representing the image that should be returned
if there is no other image to use |
Methods inherited from class edu.stanford.hci.dtools.deviceeditor.components.IOComponent |
getControlSignalSources, getControlSignalTargets, getDefaultContinuousControlSignalTarget, getDefaultControlSignalSource, getDefaultDiscreteControlSignalTarget, getDeviceConfiguration, getDiagramComponent, getHardwareAddress, getHardwareConnection, getHardwareConnectionImage, getHighlighted, getImageFilename, getLocation, getName, getPrivateName, getPropertyDescriptors, getPropertyValue, getSize, getSocket, getSocketImage, getTypeName, setDeviceConfiguration, setDiagramComponent, setHardwareAddress, setHardwareConnection, setHighlighted, setImageFilename, setLocation, setName, setPrivateName, setPropertyValue, setSize, setSocket |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayComponent
public DisplayComponent(java.lang.String name,
java.lang.String image,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimensions,
java.lang.String hardware)
DisplayComponent
public DisplayComponent()
DisplayComponent
public DisplayComponent(DisplayComponent copy)
getCopy
public IOComponent getCopy()
- Specified by:
getCopy
in class IOComponent
getDefaultImage
public java.lang.String getDefaultImage()
- Description copied from class:
IOComponent
- Return a string representing the image that should be returned
if there is no other image to use
- Specified by:
getDefaultImage
in class IOComponent
- Returns: