com.vm.visual
Class VMView

java.lang.Object
  |
  +--com.vm.mind.MIAnything
        |
        +--com.vm.mind.MIThing
              |
              +--com.vm.visual.VMView
All Implemented Interfaces:
ORObject

public class VMView
extends MIThing


Field Summary
protected  java.lang.String m_backcolor
           
protected  java.lang.String m_link
           
protected  java.lang.String m_linkcolor
           
protected  java.lang.String m_name
           
protected  java.lang.String m_nodecolor
           
protected  MIList m_nodes
           
protected  java.lang.String m_projector
           
protected  java.lang.String m_textcolor
           
protected  MIWorld m_world
           
protected  int m_x
           
protected  int m_y
           
protected  int m_z
           
 
Fields inherited from class com.vm.mind.MIThing
m_idea, m_is, m_things, m_url
 
Fields inherited from class com.vm.mind.MIAnything
IS_ERROR, IS_LINK, IS_LIST, IS_SHARED, IS_SYSTEM, IS_VALUE, m_valid
 
Constructor Summary
VMView(MIWorld i_world)
           
 
Method Summary
 void clone(MIAnything a)
          copy property of this to a
 java.lang.String dump(java.lang.String i_indent, java.lang.String i_linefeed, int i_count, int i_type)
          Needed to svae Views as Things
 java.lang.String getLink()
           
 VMNode getNode(MIThing i_thing)
           
 MIList getNodes()
           
 java.lang.String getString(java.lang.String i_name)
          Returns string presentation of property by name if property is not Thing or list
 MIThing getThing(java.lang.String i_name)
          Returns Thing presentation of property by name if property is Thing but not a list of Things
 int getType(java.lang.String i_name)
          Returns bitmask of property type.
 MIWorld getWorld()
           
 boolean load(MIWorld i_world, MIStream i_stream)
          Loads Anything/Thing from into Stream into World
 void merge(MIAnything a)
          merge content of a into this
 void setLink(java.lang.String i_link)
           
 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
 boolean setThing(java.lang.String i_name, MIThing i_thing)
          Assigns Thing value to property by name if property Thing or list.
 java.lang.String toString(java.lang.String i_breaker, int i_type)
           
 
Methods inherited from class com.vm.mind.MIThing
delThing, getCount, getDomains, getList, getName, getName, getProperty, getQuery, is, is, message, valid
 
Methods inherited from class com.vm.mind.MIAnything
fullDump, getKey, getType, SetString, SetThing, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_x

protected int m_x

m_y

protected int m_y

m_z

protected int m_z

m_name

protected java.lang.String m_name

m_link

protected java.lang.String m_link

m_projector

protected java.lang.String m_projector

m_nodes

protected MIList m_nodes

m_world

protected MIWorld m_world

m_nodecolor

protected java.lang.String m_nodecolor

m_backcolor

protected java.lang.String m_backcolor

m_linkcolor

protected java.lang.String m_linkcolor

m_textcolor

protected java.lang.String m_textcolor
Constructor Detail

VMView

public VMView(MIWorld i_world)
Method Detail

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 MIThing
Following copied from class: com.vm.mind.MIThing
See Also:
Anything

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 MIThing
Following copied from class: com.vm.mind.MIThing
See Also:
Anything

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 MIThing
Following copied from class: com.vm.mind.MIThing
See Also:
Anything

getThing

public MIThing getThing(java.lang.String i_name)
Description copied from interface: ORObject
Returns Thing presentation of property by name if property is Thing but not a list of Things
Overrides:
getThing in class MIAnything
Following copied from class: com.vm.mind.MIAnything
See Also:
ORObject

getNode

public VMNode getNode(MIThing i_thing)

setThing

public boolean setThing(java.lang.String i_name,
                        MIThing i_thing)
Description copied from interface: ORObject
Assigns Thing value to property by name if property Thing or list. In case of list, it adds input Thing to list of Things.
Overrides:
setThing in class MIThing
Following copied from class: com.vm.mind.MIThing
See Also:
Anything

load

public boolean load(MIWorld i_world,
                    MIStream i_stream)
Description copied from interface: ORObject
Loads Anything/Thing from into Stream into World
Overrides:
load in class MIAnything
Following copied from class: com.vm.mind.MIAnything
See Also:
ORObject

dump

public java.lang.String dump(java.lang.String i_indent,
                             java.lang.String i_linefeed,
                             int i_count,
                             int i_type)
Needed to svae Views as Things
Overrides:
dump in class MIAnything
Following copied from class: com.vm.mind.MIAnything
See Also:
ORObject

toString

public java.lang.String toString(java.lang.String i_breaker,
                                 int i_type)

getWorld

public MIWorld getWorld()

getNodes

public MIList getNodes()

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String i_link)

clone

public void clone(MIAnything a)
copy property of this to a
Since:
20010128

merge

public void merge(MIAnything a)
merge content of a into this
Since:
20010128