com.vm.visual.objects
Class VMSurface
java.lang.Object
|
+--com.vm.mind.MIAnything
|
+--com.vm.visual.objects.VMSurface
- All Implemented Interfaces:
- ORObject
- public class VMSurface
- extends MIAnything
Method Summary |
float[] |
center3D()
|
VM3DObject[] |
children()
|
int |
depth(VMPanel panel)
|
java.lang.String |
getString(java.lang.String i_name)
Returns string presentation of property by name if property is not Thing or list |
int |
getType(java.lang.String i_name)
Returns bitmask of property type. |
void |
paintAttributes(VMPanel panel,
java.awt.Graphics graphics)
|
void |
paintObject(VMPanel panel,
java.awt.Graphics graphics)
|
int |
priority()
used when two depths are the same, e.g. node=0 > link=1 |
boolean |
setString(java.lang.String i_name,
java.lang.String i_string)
Assigns string value to property by name if property is not
Thing or list |
java.lang.String |
toString()
|
Methods inherited from class com.vm.mind.MIAnything |
delThing, dump, fullDump, getCount, getKey, getList, getName, getName, getQuery, getThing, getType, is, load, message, SetString, setThing, SetThing, valid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VMSurface
public VMSurface()
paintObject
public void paintObject(VMPanel panel,
java.awt.Graphics graphics)
paintAttributes
public void paintAttributes(VMPanel panel,
java.awt.Graphics graphics)
children
public VM3DObject[] children()
depth
public int depth(VMPanel panel)
center3D
public float[] center3D()
priority
public int priority()
- used when two depths are the same, e.g. node=0 > link=1
getString
public java.lang.String getString(java.lang.String i_name)
- Description copied from interface:
ORObject
- Returns string presentation of property by name if property is not Thing or list
- Overrides:
getString
in class MIAnything
- Following copied from class:
com.vm.mind.MIAnything
- See Also:
ORObject
getType
public int getType(java.lang.String i_name)
- Description copied from interface:
ORObject
- Returns bitmask of property type. Possible values are IS_VALUE, IS_LINK, IS_LINK|IS_LIST
- Overrides:
getType
in class MIAnything
- Following copied from class:
com.vm.mind.MIAnything
- See Also:
ORObject
setString
public boolean setString(java.lang.String i_name,
java.lang.String i_string)
- Description copied from interface:
ORObject
- Assigns string value to property by name if property is not
Thing or list
- Overrides:
setString
in class MIAnything
- Following copied from class:
com.vm.mind.MIAnything
- See Also:
ORObject
toString
public java.lang.String toString()
- Overrides:
toString
in class MIAnything
- Following copied from class:
com.vm.mind.MIAnything
- See Also:
Object
,
ORObject