public class FXVertexController extends VertexController
Constructor and Description |
---|
FXVertexController()
The nullary cosntructor
|
FXVertexController(Vertex model,
BasicView view)
The default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
copy(IController otherObject)
Deep copy the given object's data into this one.
|
int |
getApplicationScale()
Get the scale of the application the view is drawn in.
|
void |
setApplicationScale(int scale)
Sets the scale of the application this vertex will be displayed in.
|
void |
setProperty(IMeshProperty property,
java.lang.String value)
Set the given property to a new value
|
void |
update(IManagedUpdateable component,
SubscriptionType[] types)
Receive an update, including the source component and type of event that
triggered the update.
|
isTransparent, isWireframe, setTransparentMode, setWireframeMode
getX, getY, getZ, setX, setY, setZ, updateLocation
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, 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, setRoot, setRotation, setScale, setSelected, setSize, setSkew, setTransformation, setTranslation, setView
register, unregister
getSubscriptions
public int getApplicationScale()
public void setApplicationScale(int scale)
scale
- The conversion factor between JavaFX units and the logical
units used by the application.public void setProperty(IMeshProperty property, java.lang.String value)
IController
setProperty
in interface IController
setProperty
in class BasicController
public void update(IManagedUpdateable component, SubscriptionType[] types)
IManagedUpdateableListener
update
in interface IManagedUpdateableListener
update
in class BasicController
component
- The updateable component the update is coming fromtypes
- The event type that of the updatepublic java.lang.Object clone()
clone
in class VertexController
public void copy(IController otherObject)
copy
in interface IController
copy
in class VertexController
otherObject
- The object to copy into this one.