|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.digitalis.dif.dem.objects.ViewObject
public class ViewObject
This class represents a ViewObject entity on the DEM.
Constructor Summary | |
---|---|
ViewObject()
Default constructor. |
|
ViewObject(String engine,
ViewType type,
String target,
boolean isDefault)
ViewObject constructor. |
Method Summary | |
---|---|
String |
getEngine()
Returns the rendering engine defined for the ViewObject. |
String |
getId()
Returns the ViewObject's id. |
String |
getName()
Returns the ViewObject's name. |
String |
getTarget()
Returns the ViewObject's path. |
ViewType |
getType()
Returns the ViewObject's type. |
boolean |
isDefault()
Returns information on whether the ViewObject is the default ViewObject |
void |
setDefault(boolean isDefault)
Sets the ViewObject as the default ViewObject. |
void |
setEngine(String newEngine)
Sets the ViewObject's rendering engine. |
void |
setId(String newID)
Sets the ViewObject's ID. |
void |
setName(String newName)
Sets the ViewObject's name. |
void |
setTarget(String newTarget)
Sets the ViewObject' path. |
void |
setType(ViewType newType)
Sets the ViewObject's type. |
String |
toString()
Prints the ViewObject object in a human-readable form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ViewObject()
public ViewObject(String engine, ViewType type, String target, boolean isDefault)
engine
- the view enginetype
- the view typetarget
- the view targetisDefault
- T if it's the default view, F otherwiseMethod Detail |
---|
public String getEngine()
public String getId()
public String getName()
public String getTarget()
public ViewType getType()
public boolean isDefault()
public void setDefault(boolean isDefault)
isDefault
- new ViewObject default statepublic void setEngine(String newEngine)
newEngine
- the new rendering enginepublic void setId(String newID)
newID
- the ViewObject's new IDpublic void setName(String newName)
newName
- the ViewObject's namepublic void setTarget(String newTarget)
newTarget
- the ViewObject's new pathpublic void setType(ViewType newType)
newType
- The ViewObject's new typepublic String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |