|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object no.geosoft.cc.graphics.GObject edu.ksu.cis.macr.simulator.display.AgentGObject
public class AgentGObject
Field Summary | |
---|---|
private java.util.HashMap<java.lang.Integer,no.geosoft.cc.graphics.GSegment> |
agentList
|
private java.util.HashMap<java.lang.Integer,edu.ksu.cis.macr.simulator.remote.DisplayData> |
agents
|
private no.geosoft.cc.graphics.GStyle[] |
agentStyle
|
private no.geosoft.cc.graphics.GSegment |
board
|
private java.util.HashMap<java.lang.String,java.awt.Color> |
colors
|
private java.util.HashSet<java.lang.String> |
forbid
|
private SimDisplay |
grandParent
|
private java.util.HashMap<java.lang.String,java.lang.String> |
icons
|
private no.geosoft.cc.graphics.GImage |
image
|
private no.geosoft.cc.graphics.GSegment |
meh
|
private int |
old_lite
|
private no.geosoft.cc.graphics.GStyle |
oldStyle
|
private GPanel |
parent
|
private int |
pheight
|
private int |
pwidth
|
Fields inherited from class no.geosoft.cc.graphics.GObject |
---|
ANNOTATION_INVISIBLE, ANNOTATION_VISIBLE, DATA_INVISIBLE, DATA_VISIBLE, INVISIBLE, SYMBOLS_INVISIBLE, SYMBOLS_VISIBLE, VISIBLE, WIDGETS_INVISIBLE, WIDGETS_VISIBLE |
Constructor Summary | |
---|---|
AgentGObject(GPanel _parent,
SimDisplay _grandParent,
java.util.HashSet<java.lang.String> _forbid,
java.util.HashMap<java.lang.String,java.lang.String> _icons,
java.util.HashMap<java.lang.String,java.awt.Color> _colors,
int width,
int height)
Constructor for AgentGObject. |
Method Summary | |
---|---|
void |
draw()
Necessary Drawing/redrawing method. |
void |
lite(int x)
Highlights the selected agent on the gframe. |
Methods inherited from class no.geosoft.cc.graphics.GObject |
---|
add, add, addSegment, back, backward, behind, find, find, find, find, findAll, findAll, findAllInside, findInside, findSegment, findSegment, findSegment, findSegmentInside, findSegments, findSegments, findSegmentsInside, forward, front, getChild, getChildren, getName, getNChildren, getNSegments, getObjectBehind, getObjectInFront, getParent, getScene, getSegment, getSegment, getSegments, getStyle, getTransformer, getUserData, getVisibility, getWindow, inFrontOf, isInBack, isInFront, redraw, redraw, refresh, remove, remove, removeAll, removeSegment, removeSegment, removeSegments, removeSegments, removeSegments, reposition, setName, setStyle, setUserData, setVisibility, styleChanged, toBack, toFront, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private GPanel parent
private SimDisplay grandParent
private no.geosoft.cc.graphics.GSegment board
private java.util.HashMap<java.lang.Integer,no.geosoft.cc.graphics.GSegment> agentList
private no.geosoft.cc.graphics.GStyle[] agentStyle
private java.util.HashMap<java.lang.Integer,edu.ksu.cis.macr.simulator.remote.DisplayData> agents
private java.util.HashSet<java.lang.String> forbid
private java.util.HashMap<java.lang.String,java.lang.String> icons
private java.util.HashMap<java.lang.String,java.awt.Color> colors
private no.geosoft.cc.graphics.GSegment meh
private final int pwidth
private final int pheight
private no.geosoft.cc.graphics.GImage image
private no.geosoft.cc.graphics.GStyle oldStyle
private int old_lite
Constructor Detail |
---|
public AgentGObject(GPanel _parent, SimDisplay _grandParent, java.util.HashSet<java.lang.String> _forbid, java.util.HashMap<java.lang.String,java.lang.String> _icons, java.util.HashMap<java.lang.String,java.awt.Color> _colors, int width, int height)
Method Detail |
---|
public void lite(int x)
public void draw()
draw
in class no.geosoft.cc.graphics.GObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |