|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.ui.render.glass.GlassPane
public abstract class GlassPane
A glass pane that draws onto the image drawn on the screen.
The draw command is drawn after the background image has been drawn and before the draw commands are executed:
Field Summary | |
---|---|
protected ViewportPane |
parent
The viewport pane that does the drawing on the screen. |
Constructor Summary | |
---|---|
GlassPane(ViewportPane parent)
Creates a new glass pane with a given parent viewport. |
Method Summary | |
---|---|
abstract void |
draw(GC graphics)
This function does the drawing. |
GlassPaneSite |
getSite()
Gets the site associated with the glasspane. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ViewportPane parent
Constructor Detail |
---|
public GlassPane(ViewportPane parent)
A new glasspane site is created using the map and render manager associated with the viewportpane
parent
- Method Detail |
---|
public GlassPaneSite getSite()
public abstract void draw(GC graphics)
This should contain the draw commands of the items you want drawn on the glass pane. All draw commands are pixel draw commands therefore any location information needs to be converted to screen coordinates. This can be done using the GlassPaneSite information
graphics
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |