| Modifier and Type | Method and Description |
|---|---|
| public Graphics | |
| public void | paintComponent(Graphics
the g)Graphics object to protectOverrides javax. null.
|
| public void | setBounds(int
the new x-coordinate of this component x, int the new y-coordinate of this component y, int the new width, int width of this componentthe new height)height of this
componentOverrides java. |
| imageBuffer | back to summary |
|---|---|
| pack-priv Image imageBuffer | |
| ths | back to summary |
|---|---|
| pack-priv This ths | |
| BshCanvas | back to summary |
|---|---|
| public BshCanvas() | |
| BshCanvas | back to summary |
|---|---|
| public BshCanvas(This ths) | |
| getBufferedGraphics | back to summary |
|---|---|
| public Graphics getBufferedGraphics() Get a buffered (persistent) image for drawing on this component | |
| paintComponent | back to summary |
|---|---|
| public void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in
| |
| setBounds | back to summary |
|---|---|
| public void setBounds(int x, int y, int width, int height) Overrides java. Doc from java. Moves and resizes this component. The new location of the top-left
corner is specified by This method changes layout-related information, and therefore, invalidates the component hierarchy.
| |