|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--auc.simulator.simitems.SimItemAdapter
|
+--auc.simulator.simitems.SimField
Field representation in the simulator.
| Fields inherited from class auc.simulator.simitems.SimItemAdapter |
mAction, mBounds, mCoordProvider, mDraggable, mName, mSelectionPoint |
| Constructor Summary | |
SimField(CoordManageable coordProvider,
Field field)
Constructs a field for the simulator. |
|
| Method Summary | |
void |
displaySelected()
Displays the selected sub-field of the field as a separate field. |
Field |
getDisplayedField()
Returns the currently displayed field on the simulator. |
Field |
getField()
Returns the data object field for this simulator field. |
void |
paint(java.awt.Graphics g)
Drawing routine for this simulator field. |
void |
paintSelection(java.awt.Graphics g)
Drawing routine for the simulator field selection. |
void |
selectSubItem()
Selects a field given the last mouse press point. |
void |
setField(Field field)
Sets the data object field for this simulator field. |
void |
setFieldDrawingArea(FieldDrawingArea fieldDrawingArea)
Sets the field drawing area for the simulated field. |
void |
up()
Goes up the hierarchy in the field display area. |
| Methods inherited from class auc.simulator.simitems.SimItemAdapter |
getBounds, getCenterPoint, getCoordManager, getName, getSelectionBounds, isDraggable, isSelected, performAction, setAction, setBounds, setDraggable, setName, setSelected, setSelected |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimField(CoordManageable coordProvider,
Field field)
coordProvider - the component on which the field will be drawn.field - the field data object.| Method Detail |
public void setFieldDrawingArea(FieldDrawingArea fieldDrawingArea)
fieldDrawingArea - field drawing area for this simulated field.public void setField(Field field)
field - the data object field.public Field getField()
public Field getDisplayedField()
public void paint(java.awt.Graphics g)
paint in class SimItemAdapterg - Graphics context for drawing.public void paintSelection(java.awt.Graphics g)
paintSelection in class SimItemAdapterg - Graphics context for drawing.public void selectSubItem()
selectSubItem in class SimItemAdapterpublic void displaySelected()
public void up()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||