public class ShapeController extends BasicController implements ITransparentController, IWireframeController
Constructor and Description |
---|
ShapeController()
THe nullary constructor
|
ShapeController(Shape model,
BasicView view)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
copy(IController source)
Deep copy the given object's data into this one.
|
boolean |
isTransparent()
Method to check whether or not the controller is currently in transparent
mode.
|
boolean |
isWireframe()
Method to check whether or not the controller is currently in wireframe
mode.
|
void |
setParent(IController parent)
Set the shape's parent shape.
|
void |
setTransparentMode(boolean transparent)
Sets whether or not the part should be rendered transparently.
|
void |
setWireframeMode(boolean on)
Set the controller's view to display in either wireframe or filled mode
|
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, update
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, update
public void setParent(IController parent)
parent
- The new shape which serves as this shape's parent.public java.lang.Object clone()
clone
in class BasicController
public void copy(IController source)
IController
copy
in interface IController
copy
in class BasicController
source
- The object to copy into this one.public void setTransparentMode(boolean transparent)
ITransparentController
setTransparentMode
in interface ITransparentController
public void setWireframeMode(boolean on)
IWireframeController
setWireframeMode
in interface IWireframeController
on
- If true, sets the view to display its mesh in wireframe mode.
If false, sets the view to display its mesh normally.public boolean isTransparent()
ITransparentController
isTransparent
in interface ITransparentController
public boolean isWireframe()
IWireframeController
isWireframe
in interface IWireframeController