|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DisplayCollection | +--CraneView
View for the status of a warehouse crane.
Field Summary | |
protected Annotation |
destinationView
View for the destination of this crane. |
protected Annotation |
locationView
View for the location of this crane. |
protected Vector |
log
Vector to store status log. |
protected Crane |
model
Warehouse crane data model for this view. |
protected Annotation |
statusView
View for a status description of this crane. |
protected Annotation |
strategyNameView
View for the name of the strategy for this crane. |
Constructor Summary | |
CraneView(Crane c)
Constructs a view for the given warehouse crane. |
Method Summary | |
protected void |
addComponents()
Adds components to this GUI. |
protected void |
initializeComponents()
Initializes the components used in this GUI. |
protected void |
initializeViews()
Initializes the contents of the views in this GUI. |
void |
print()
Prints the text of the status log to the console. |
void |
propertyChange(PropertyChangeEvent evt)
Updates this when the data model changes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Crane model
protected Annotation strategyNameView
protected Annotation locationView
protected Annotation destinationView
protected Annotation statusView
protected Vector log
Constructor Detail |
public CraneView(Crane c)
c
- the warehouse crane data model for this viewMethod Detail |
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
evt
- event object encapsulating the property changeprotected void initializeComponents()
protected void addComponents()
protected void initializeViews()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |