auc.simulator.simitems
Class SimPlatform

java.lang.Object
  |
  +--auc.simulator.simitems.SimItemAdapter
        |
        +--auc.simulator.simitems.SimPlatform
All Implemented Interfaces:
SimItem
Direct Known Subclasses:
RemotePlatform

public class SimPlatform
extends SimItemAdapter

The class simulating the farm platform.


Field Summary
protected  double mRotationAngle
           
 
Fields inherited from class auc.simulator.simitems.SimItemAdapter
mAction, mBounds, mCoordProvider, mDraggable, mName, mSelectionPoint
 
Constructor Summary
SimPlatform(CoordManageable coordProvider, java.lang.String name, java.awt.Rectangle bounds)
          Construction.
 
Method Summary
 Route getRoute()
           
 void paint(java.awt.Graphics g)
          The painting routine for the simulated implement.
 void setRoute(Route route)
           
 
Methods inherited from class auc.simulator.simitems.SimItemAdapter
getBounds, getCenterPoint, getCoordManager, getName, getSelectionBounds, isDraggable, isSelected, paintSelection, performAction, selectSubItem, setAction, setBounds, setDraggable, setName, setSelected, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mRotationAngle

protected double mRotationAngle
Constructor Detail

SimPlatform

public SimPlatform(CoordManageable coordProvider,
                   java.lang.String name,
                   java.awt.Rectangle bounds)
Construction.
Parameters:
coordProvider - the component that is going to display this item.
name - the title name of the implement
bounds - the bounding region of the implement.
Method Detail

paint

public void paint(java.awt.Graphics g)
The painting routine for the simulated implement.
Overrides:
paint in class SimItemAdapter
Parameters:
g - the graphics context.

setRoute

public void setRoute(Route route)

getRoute

public Route getRoute()