|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphics.Graphics
public class Graphics
This class maintains the programs Graphics package. The purpose of package is to render and display the programs data structure on screen.
Field Summary | |
---|---|
private GraphicsEngine |
graphicsEngine
Current instance of GraphicsEngine class. |
private GraphicsWindow |
graphicsWindow
Current instance of GraphicsWindow class. |
Constructor Summary | |
---|---|
Graphics(DataCollection dataCollection)
Construct whole graphics-package. |
Method Summary | |
---|---|
boolean |
showErrorMessage(java.lang.String message,
boolean terminate)
Method forwards error message to popup-window. |
boolean |
showMessage(java.lang.String message)
Method forwards message to popup-window. |
boolean |
update()
Method updates graphics -package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private GraphicsEngine graphicsEngine
private GraphicsWindow graphicsWindow
Constructor Detail |
---|
public Graphics(DataCollection dataCollection)
dataCollection
- DataCollection class.Method Detail |
---|
public boolean showErrorMessage(java.lang.String message, boolean terminate)
showErrorMessage
in interface GraphicsInterface
message
- Error message.terminate
- Can we continue after this error.
public boolean showMessage(java.lang.String message)
showMessage
in interface GraphicsInterface
message
- Message.
public boolean update()
update
in interface GraphicsInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |