com.vm.visual.objects
Class VMGrid

java.lang.Object
  |
  +--com.vm.mind.MIAnything
        |
        +--com.vm.visual.objects.VM3DObject
              |
              +--com.vm.visual.objects.VMGrid
All Implemented Interfaces:
ORObject

public class VMGrid
extends VM3DObject


Fields inherited from class com.vm.mind.MIAnything
IS_ERROR, IS_LINK, IS_LIST, IS_SHARED, IS_SYSTEM, IS_VALUE, m_valid
 
Constructor Summary
VMGrid()
           
 
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
 

Constructor Detail

VMGrid

public VMGrid()
Method Detail

paintObject

public void paintObject(VMPanel panel,
                        java.awt.Graphics graphics)
Overrides:
paintObject in class VM3DObject

paintAttributes

public void paintAttributes(VMPanel panel,
                            java.awt.Graphics graphics)
Overrides:
paintAttributes in class VM3DObject

depth

public int depth(VMPanel panel)

center3D

public float[] center3D()
Overrides:
center3D in class VM3DObject

priority

public int priority()
used when two depths are the same, e.g. node=0 > link=1
Overrides:
priority in class VM3DObject

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

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

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

toString

public java.lang.String toString()
Overrides:
toString in class MIAnything
Following copied from class: com.vm.mind.MIAnything
See Also:
Object, ORObject

children

public VM3DObject[] children()
Overrides:
children in class VM3DObject