public class TestController extends BasicController
Constructor and Description |
---|
TestController(BasicMesh model,
BasicView view)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUpdated()
Checks whether the controller has been updated and returns it to its
default state.
|
void |
update(IManagedUpdateable component,
SubscriptionType[] type)
Receive an update, including the source component and type of event that
triggered the update.
|
addEntity, addEntityToCategory, clone, copy, 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
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 isUpdated()