interagents
Class ObjectStatus

java.lang.Object
  |
  +--interagents.ObjectStatus
All Implemented Interfaces:
java.lang.Cloneable

public class ObjectStatus
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
 boolean aTarget
          true if the object is an original target or a construction of one; private, can only be altered through methods
 boolean clickable
          true if the object is clickable on screen
 int constructionLevel
          Records at what level in a subconstruction an object is created; used in OpShow...
 boolean mustRefresh
          true if the object must be refreshed at next redrawing opportunity
 java.lang.String name
           
 int sameAs
          The @see EuLab number of another object, identical to the present one, in the same @see EuLab, or -1 if there is no such object.
 fundamentals.EuVector selectedAt
           
 boolean visible
          true if the object is visible on screen
 
Constructor Summary
ObjectStatus(int segment)
           
 
Method Summary
 interagents.ObjectStatus cloneMe()
           
 int currentColor()
           
 int currentColor(boolean selected)
           
 boolean mustDraw(int level)
           
 boolean originalTarget()
           
 int secondaryColor()
           
 void selectAt(fundamentals.EuVector ev)
           
 void setInvisible()
           
 void setTarget()
           
 void setVisible()
           
 boolean solutionObject()
           
 java.lang.String toString()
           
 void trigVisible()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

visible

public boolean visible
true if the object is visible on screen


clickable

public boolean clickable
true if the object is clickable on screen


mustRefresh

public boolean mustRefresh
true if the object must be refreshed at next redrawing opportunity


name

public java.lang.String name

selectedAt

public fundamentals.EuVector selectedAt

sameAs

public int sameAs
The @see EuLab number of another object, identical to the present one, in the same @see EuLab, or -1 if there is no such object. The first instance points to the second. All other point back to the first.


aTarget

public boolean aTarget
true if the object is an original target or a construction of one; private, can only be altered through methods


constructionLevel

public int constructionLevel
Records at what level in a subconstruction an object is created; used in OpShow... only.

Constructor Detail

ObjectStatus

public ObjectStatus(int segment)
Method Detail

currentColor

public int currentColor(boolean selected)
Returns:
The default color to be used when drawing an object with these current properties

currentColor

public int currentColor()

secondaryColor

public int secondaryColor()
Returns:
The default color to be used when drawing an object with these current properties

setTarget

public void setTarget()

originalTarget

public boolean originalTarget()

solutionObject

public boolean solutionObject()

trigVisible

public void trigVisible()

setVisible

public void setVisible()

setInvisible

public void setInvisible()

selectAt

public void selectAt(fundamentals.EuVector ev)

mustDraw

public boolean mustDraw(int level)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

cloneMe

public interagents.ObjectStatus cloneMe()