public class TestView extends BasicView
Constructor and Description |
---|
TestView()
The default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object otherObject) |
Representation<VizObject> |
getRepresentation()
Creates a representation wrapping an object which represents the part's
model in a native data type for the application associated with this
view.
|
boolean |
isRefreshed()
Checks whether the view has been refreshed and returns it to its default
state.
|
boolean |
isUpdated()
Checks whether the view has been updated and returns it to its default
state.
|
void |
refresh(IMesh mesh)
Refreshes the representation of the model.
|
void |
setData(int data)
Set the test view's data member.
|
void |
update(IManagedUpdateable component,
SubscriptionType[] type)
Receive an update, including the source component and type of event that
triggered the update.
|
copy, getSubscriptions, hashCode, register, unregister
public void setData(int data)
public Representation<VizObject> getRepresentation()
IView
getRepresentation
in interface IView
getRepresentation
in class BasicView
public void refresh(IMesh mesh)
IView
public void update(IManagedUpdateable component, SubscriptionType[] type)
IManagedUpdateableListener
update
in interface IManagedUpdateableListener
update
in class BasicView
component
- The updateable component the update is coming fromtype
- The event type that of the updatepublic boolean isRefreshed()
public boolean isUpdated()