Modifier and Type | Method and Description |
---|---|
Pane |
getPane()
Gets the parent pane.
|
void |
paintToPaneGraphics(Graphics2D g)
Draws the visual representation of the object to the given graphics
considering that it is graphics of the parent pane.
|
void |
setPane(Pane p)
Sets the parent pane.
|
Pane getPane()
void setPane(Pane p)
p
- the new parent panevoid paintToPaneGraphics(Graphics2D g)
g
- the graphics used to draw the objectCopyright © 2017. All rights reserved.