public class ShapeTester.TestShape extends ShapeController
Constructor and Description |
---|
TestShape(Shape model,
BasicView view)
The defualt constructor
|
Modifier and Type | Method and Description |
---|---|
void |
update(IManagedUpdateable component,
SubscriptionType[] type)
Receive an update, including the source component and type of event that
triggered the update.
|
boolean |
wasUpdated()
Gets and resets the shape's updated state
|
clone, copy, isTransparent, isWireframe, setParent, setTransparentMode, setWireframeMode
addEntity, addEntityToCategory, dispose, equals, getDisposed, getEntities, getEntitiesFromCategory, getEntitiesFromCategory, getModel, getProperty, getRepresentation, getRotation, getScale, getSize, getSkew, getSubscriptions, getTransformation, getTranslation, getUpdateManager, getView, hashCode, isRoot, isSelected, refresh, register, removeEntity, setDisposed, setEntities, setProperties, setProperty, setRoot, setRotation, setScale, setSelected, setSize, setSkew, setTransformation, setTranslation, setView, unregister
getClass, notify, notifyAll, toString, wait, wait, wait
addEntity, addEntityToCategory, dispose, getDisposed, getEntities, getEntitiesFromCategory, getEntitiesFromCategory, getModel, getProperty, getRepresentation, getRotation, getScale, getSize, getSkew, getTransformation, getTranslation, getUpdateManager, getView, isRoot, isSelected, refresh, removeEntity, setDisposed, setEntities, setProperties, setProperty, setRoot, setRotation, setScale, setSelected, setSize, setSkew, setTransformation, setTranslation, setView
register, unregister
getSubscriptions
public void update(IManagedUpdateable component, SubscriptionType[] type)
IManagedUpdateableListener
update
in interface IManagedUpdateableListener
update
in class BasicController
component
- The updateable component the update is coming fromtype
- The event type that of the updatepublic boolean wasUpdated()