|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--caviargui.GroupBox
Class for representing a group of people box.
Field Summary | |
protected static int |
ACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
APPEAR
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
DISAPPEAR
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
FIGHT_END
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
FIGHT_START
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
FIGHT_VICTIM_LEFT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
FIGHTERS
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
FIGHTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_FIGHTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_INACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_INTERACTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_LEFT_OBJECT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_LEFT_VICTIM
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_MEETING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_MOVING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GR_SPLITTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRSHOPENTER_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRSHOPENTER_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRSHOPEXIT_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRSHOPEXIT_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRSHOPREENTER_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
GRWINDOWSHOP_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
INACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected boolean[] |
indBoxes
Array representing the single boxes in this GroupBox object |
protected static int |
LEAVING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
LENGTH
The number of truths in the ground truths array. |
protected static int |
MEETERS
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
MEETING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
MOVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
protected static int |
MOVEMENT_LENGTH
Variable representing the number of group movement variables |
protected boolean[] |
truths
Truths array to represent everything that is known about a picture. |
protected static int |
WALKERS
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
Constructor Summary | |
GroupBox()
Default constructor, everything in the truths array is set to false and the box is not drawn and the orientation axis is set to default of 90 degrees |
|
GroupBox(boolean[] truths,
java.awt.Rectangle box,
int axis,
java.awt.geom.Line2D.Float axisLine,
boolean[] indBoxes)
Used when loading a new file from disk, a new object is created with the proper truths, box, axis and axisLine attirbutes specified. |
Method Summary | |
boolean |
getActive()
Get method for GUI to get value of active value in truths array. |
boolean |
getAppear()
Get method for GUI to get value of appear value in truths array. |
int |
getAxis()
Returns the axis of orientation assciated with this GroupBox object. |
java.awt.Rectangle |
getBox()
get method for the GUI to return the Rectangle object associated with this GroupBox object. |
boolean |
getBoxDrawn()
Get method for GUI to get whether a box has been drawn asscociated with this GroupBox object |
boolean |
getDisappear()
Get method for GUI to get value of disappear value in truths array. |
boolean |
getFight()
Get method for GUI to get value of fight value in truths array. |
boolean |
getFightEnd()
Returns the value of fight end in truths array |
boolean |
getFighting()
Returns the value of fighting in truths array |
boolean |
getFightStart()
Returns the value of fight start in truths array |
boolean |
getFightVictimLeft()
Returns the value of fight left victim in truths array |
boolean |
getGrFighting()
Returns the value of group fighters in truths array |
boolean |
getGrInactive()
Returns the value of group inactive in truths array |
boolean |
getGrInteracting()
Returns the value of group meeting in truths array |
boolean |
getGrMeeting()
Returns the value of group meeting in truths array |
boolean |
getGrMoving()
Returns the value of group moving in truths array |
boolean |
getGrSplitting()
Returns the value of group splitting in truths array |
boolean |
getInActive()
Get method for GUI to get value of inactive value in truths array. |
boolean |
getIndBoxAt(int i)
Returns a boolean variable representing true if a single box is associated with this groupbox and false otherwise |
boolean[] |
getIndBoxes()
Gets the array rep the individual boxes that are included in this group box |
boolean |
getLeaving()
Returns the value of leaving in truths array |
boolean |
getLeftBehind()
Get method for GUI to get value of left behind value in truths array. |
boolean |
getLeftObject()
Get method for GUI to get value of left object value in truths array. |
java.awt.geom.Line2D.Float |
getLine()
Returns the line of the orientation worked out from the Rectangle object and the axis parameter if this GroupBox object. |
boolean |
getMeet()
Get method for GUI to get value of meet value in truths array. |
boolean |
getMeeting()
Returns the value of meeting in truths array |
boolean |
getMove()
Get method for GUI to get value of move value in truths array. |
boolean |
getSelected()
Get method for GUI to get whether a this GroupBox object has been selected by the user. |
boolean |
getShopenterSce()
Returns the value of shop enter scenario in truths array |
boolean |
getShopenterSit()
Returns the value of shop enter situation in truths array |
boolean |
getShopexitSce()
Returns the value of shop exit scenario in truths array |
boolean |
getShopexitSit()
Returns the value of shop exit situation in truths array |
boolean |
getShopreenterSce()
Returns the value of shop reenter scenario in truths array |
boolean[] |
getTruths()
Returns all the truths asscoiated with this GroupBox object. |
boolean |
getWalk()
Returns the value of walkers in truths array |
boolean |
getWindowshopSce()
Returns the value of window shop scenario in truths array |
boolean |
isDefault()
Checks if the Groupbox has the default values in all the fields. |
void |
setActive()
Toggles the value of the active attribute of this GroupBox object. |
void |
setAppear()
Toggles the value of the appear attribute of this GroupBox object. |
void |
setAxis(int angle)
Sets the value of the axis attribute of this GroupBox object to angle. |
void |
setBox(java.awt.Rectangle rectangle)
Sets the value of the box attribute of this GroupBox object to rectangle. |
void |
setBoxDrawn(boolean value)
Sets the value of the boxDrawn attribute of this GroupBox object to value. |
void |
setDisappear()
Toggles the value of the disappear attribute of this GroupBox object. |
void |
setFight()
Toggles the value of the fight attribute of this GroupBox object. |
void |
setFightEnd()
Toggles the value of the meeting attribute of this GroupBox object. |
void |
setFighting()
Toggles the value of the fighting attribute of this GroupBox object. |
void |
setFightStart()
Toggles the value of the fight start attribute of this GroupBox object. |
void |
setFightVictimLeft()
Toggles the value of the meeting attribute of this GroupBox object. |
void |
setGrFighting()
Toggles the value of the group fighting attribute of this GroupBox object. |
void |
setGrInactive()
Toggles the value of the inactive attribute of this GroupBox object. |
void |
setGrInteracting()
Toggles the value of the group meeting attribute of this GroupBox object. |
void |
setGrMeeting()
Toggles the value of the group meeting attribute of this GroupBox object. |
void |
setGrMoving()
Toggles the value of the moving attribute of this GroupBox object. |
void |
setGrSplitting()
Toggles the value of the splitting attribute of this GroupBox object. |
void |
setInActive()
Toggles the value of the inactive attribute of this GroupBox object. |
void |
setIndBoxes(java.lang.String[] indBoxString)
Sets the individual boxes that are included in this group box |
void |
setLeaving()
Toggles the value of the leaving attribute of this GroupBox object. |
void |
setLeftBehind()
Toggles the value of the left behind attribute of this GroupBox object |
void |
setLeftObject()
Toggles the value of the left object attribute of this GroupBox object |
void |
setLine(java.awt.geom.Line2D.Float axisLine)
Sets the value of the axisLine attribute of this GroupBox object to axisLine. |
void |
setMeet()
Toggles the value of the meet attribute of this GroupBox object. |
void |
setMeeting()
Toggles the value of the meeting attribute of this GroupBox object. |
void |
setMove()
Toggles the value of the move attribute of this GroupBox object. |
void |
setSelected(boolean value)
Sets the value of the selected attribute of this GroupBox object to value. |
void |
setShopenterSce()
Toggles the value of the shop enter scenario attribute of this GroupBox object. |
void |
setShopenterSit()
Toggles the value of the shop enter situation attribute of this GroupBox object. |
void |
setShopexitSce()
Toggles the value of the shop exit scenario attribute of this GroupBox object. |
void |
setShopexitSit()
Toggles the value of the shop exit situation attribute of this GroupBox object. |
void |
setShopreenterSce()
Toggles the value of the shop reenter scenario attribute of this GroupBox object. |
void |
setTruths(boolean[] newTruths)
Sets the value of the all the values in the truths array of this GroupBox object to the value of newTruths |
void |
setWalk()
Toggles the value of the walkers attribute of this GroupBox object. |
void |
setWindowshopSce()
Toggles the value of the window shop scenario attribute of this GroupBox object. |
java.lang.String |
toString()
Returns the String representing this GroupBox object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final int APPEAR
protected static final int DISAPPEAR
protected static final int ACTIVE
protected static final int INACTIVE
protected static final int MOVE
protected static final int FIGHTERS
protected static final int MEETERS
protected static final int WALKERS
protected static final int GR_FIGHTING
protected static final int GR_MOVING
protected static final int GR_MEETING
protected static final int GR_SPLITTING
protected static final int GR_INACTIVE
protected static final int GR_LEFT_VICTIM
protected static final int GR_LEFT_OBJECT
protected static final int FIGHTING
protected static final int MEETING
protected static final int LEAVING
protected static final int FIGHT_START
protected static final int FIGHT_END
protected static final int FIGHT_VICTIM_LEFT
protected static final int GR_INTERACTING
protected static final int GRSHOPENTER_SIT
protected static final int GRSHOPEXIT_SIT
protected static final int GRWINDOWSHOP_SCE
protected static final int GRSHOPENTER_SCE
protected static final int GRSHOPEXIT_SCE
protected static final int GRSHOPREENTER_SCE
protected static final int LENGTH
protected static final int MOVEMENT_LENGTH
protected boolean[] truths
protected boolean[] indBoxes
Constructor Detail |
public GroupBox()
public GroupBox(boolean[] truths, java.awt.Rectangle box, int axis, java.awt.geom.Line2D.Float axisLine, boolean[] indBoxes)
Method Detail |
public boolean isDefault()
public boolean getAppear()
public boolean getDisappear()
public boolean getActive()
public boolean getInActive()
public boolean getMove()
public boolean getFight()
public boolean getMeet()
public boolean getWalk()
public boolean getGrFighting()
public boolean getShopenterSit()
public boolean getShopexitSit()
public boolean getWindowshopSce()
public boolean getShopenterSce()
public boolean getShopexitSce()
public boolean getShopreenterSce()
public boolean getGrMoving()
public boolean getGrMeeting()
public boolean getGrInteracting()
public boolean getGrSplitting()
public boolean getGrInactive()
public boolean getLeftBehind()
public boolean getLeftObject()
public boolean getFighting()
public boolean getMeeting()
public boolean getLeaving()
public boolean getFightStart()
public boolean getFightEnd()
public boolean getFightVictimLeft()
public boolean getBoxDrawn()
public boolean getSelected()
public java.awt.Rectangle getBox()
public int getAxis()
public java.awt.geom.Line2D.Float getLine()
public boolean[] getTruths()
public boolean getIndBoxAt(int i)
public boolean[] getIndBoxes()
public void setAppear()
public void setDisappear()
public void setActive()
public void setInActive()
public void setMove()
public void setFight()
public void setMeet()
public void setWalk()
public void setShopenterSit()
public void setShopexitSit()
public void setWindowshopSce()
public void setShopenterSce()
public void setShopexitSce()
public void setShopreenterSce()
public void setGrFighting()
public void setGrMoving()
public void setGrMeeting()
public void setGrInteracting()
public void setGrSplitting()
public void setGrInactive()
public void setLeftBehind()
public void setLeftObject()
public void setFighting()
public void setMeeting()
public void setLeaving()
public void setFightStart()
public void setFightEnd()
public void setFightVictimLeft()
public void setBoxDrawn(boolean value)
public void setSelected(boolean value)
public void setBox(java.awt.Rectangle rectangle)
public void setAxis(int angle)
public void setLine(java.awt.geom.Line2D.Float axisLine)
public void setIndBoxes(java.lang.String[] indBoxString)
public void setTruths(boolean[] newTruths)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |