|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGroupBox
public class GroupBox
Class for representing a group of people box.
Field Summary | |
---|---|
static int |
ACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
APPEAR
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
DISAPPEAR
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
FIGHT_END
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
FIGHT_START
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
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. |
static int |
FIGHTERS
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
FIGHTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GR_FIGHTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GR_INACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GR_INTERACTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
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. |
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. |
static int |
GR_MEETING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GR_MOVING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GR_SPLITTING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRBROWSER_ROLE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRBROWSING_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRLEFTOBJECT_ROLE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRLEFTVICTIM_ROLE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRSHOPENTER_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRSHOPENTER_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRSHOPEXIT_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRSHOPEXIT_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRSHOPREENTER_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRWALKING_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
GRWINDOWSHOP_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
INACTIVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
boolean[] |
indBoxes
Array representing the single boxes in this GroupBox object |
static int |
LEAVING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
LENGTH
The number of truths in the ground truths array. |
static int |
MEETERS
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
MEETING
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
MOVE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
MOVEMENT_LENGTH
Variable representing the number of group movement variables |
static int[] |
movements
|
static int |
NONE_MOV
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
NONE_ROLE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
NONE_SCE
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
NONE_SIT
Used to determine which part in the truths array is relavent to which of the boolean attributes of a frame. |
static int |
ROLE_LENGTH
Variable representing the number of role variables |
static int[] |
roles
|
static int |
SCE_LENGTH
Variable representing the number of scenario variables |
static int[] |
scenarios
|
static int |
SIT_LENGTH
Variable representing the number of situation variables |
static int[] |
situations
|
static java.lang.String[] |
text
The following is used by ChangeBoxSequence and if not kept up to date with the above will cause the program not to function correctly |
boolean[] |
truths
Truths array to represent everything that is known about a picture. |
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 | |
---|---|
java.lang.String |
CheckRoles()
|
java.lang.String |
CheckScenarios()
|
java.lang.String |
CheckSituations()
|
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 |
getBrowserRole()
Returns the value of browser role in truths array |
boolean |
getBrowsingSit()
Returns the value of browsing situation in truths array |
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 |
getNoneMov()
Get method for GUI to get value of none movement value in truths array. |
boolean |
getNoneRol()
Get method for GUI to get value of none rol value in truths array. |
boolean |
getNoneSce()
Get method for GUI to get value of none scenario value in truths array. |
boolean |
getNoneSit()
Get method for GUI to get value of none situation 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 |
getWalkingSce()
Returns the value of walking scenario 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 |
setBrowserRole()
Toggles the value of the browser role attribute of this GroupBox object. |
void |
setBrowsingSit()
Toggles the value of the browsing situation attribute of this GroupBox object. |
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(int[] indBoxInt)
|
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 |
setNoneMov()
Toggles the value of the none movement attribute of this GroupBox object. |
void |
setNoneRol()
Toggles the value of the none rol attribute of this GroupBox object. |
void |
setNoneSce()
Toggles the value of the none scenario attribute of this GroupBox object. |
void |
setNoneSit()
Toggles the value of the left object attribute of this GroupBox object |
void |
setRol(java.lang.String rol)
|
void |
setScenario(java.lang.String sce)
|
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 |
setSituation(java.lang.String sit)
|
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 |
setWalkingSce()
Toggles the value of the walking scenario 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 |
---|
public static final int APPEAR
public static final int DISAPPEAR
public static final int ACTIVE
public static final int INACTIVE
public static final int MOVE
public static final int FIGHTERS
public static final int MEETERS
public static final int WALKERS
public static final int GRBROWSER_ROLE
public static final int GRLEFTOBJECT_ROLE
public static final int GRLEFTVICTIM_ROLE
public static final int GR_FIGHTING
public static final int GR_MOVING
public static final int GR_MEETING
public static final int GR_SPLITTING
public static final int GR_INACTIVE
public static final int GR_LEFT_VICTIM
public static final int GR_LEFT_OBJECT
public static final int GR_INTERACTING
public static final int GRSHOPENTER_SIT
public static final int GRSHOPEXIT_SIT
public static final int GRBROWSING_SIT
public static final int FIGHT_START
public static final int FIGHT_END
public static final int FIGHT_VICTIM_LEFT
public static final int FIGHTING
public static final int MEETING
public static final int LEAVING
public static final int GRWINDOWSHOP_SCE
public static final int GRSHOPENTER_SCE
public static final int GRSHOPEXIT_SCE
public static final int GRSHOPREENTER_SCE
public static final int GRWALKING_SCE
public static final int NONE_ROLE
public static final int NONE_SIT
public static final int NONE_SCE
public static final int NONE_MOV
public static java.lang.String[] text
public static int[] roles
public static int[] scenarios
public static int[] situations
public static int[] movements
public static final int LENGTH
public static final int MOVEMENT_LENGTH
public static final int ROLE_LENGTH
public static final int SIT_LENGTH
public static final int SCE_LENGTH
public boolean[] truths
public 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 getNoneMov()
public boolean getNoneRol()
public boolean getFight()
public boolean getMeet()
public boolean getWalk()
public boolean getGrFighting()
public boolean getNoneSit()
public boolean getBrowsingSit()
public boolean getShopenterSit()
public boolean getShopexitSit()
public boolean getNoneSce()
public boolean getWindowshopSce()
public boolean getShopenterSce()
public boolean getShopexitSce()
public boolean getShopreenterSce()
public boolean getBrowserRole()
public boolean getWalkingSce()
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 setNoneMov()
public void setNoneRol()
public void setFight()
public void setMeet()
public void setWalk()
public void setShopenterSit()
public void setShopexitSit()
public void setWindowshopSce()
public void setBrowsingSit()
public void setShopenterSce()
public void setShopexitSce()
public void setShopreenterSce()
public void setBrowserRole()
public void setWalkingSce()
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 setNoneSit()
public void setFighting()
public void setMeeting()
public void setLeaving()
public void setNoneSce()
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 setIndBoxes(int[] indBoxInt)
public void setTruths(boolean[] newTruths)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String CheckRoles()
public java.lang.String CheckSituations()
public java.lang.String CheckScenarios()
public void setRol(java.lang.String rol)
public void setSituation(java.lang.String sit)
public void setScenario(java.lang.String sce)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |