public class VBorderedWrapper extends VWrapper
VBorderedWrapper class provides the borders for
a visual object.| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected VBorder |
border
The border.
|
visualizable| コンストラクタと説明 |
|---|
VBorderedWrapper(Visualizable visualizable,
VBorder border)
Constructs a bordered wrapper with the wrapped visual object and
the border.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.Object |
clone()
Returns a clone of this visual object.
|
VBorder |
getBorder()
Returns the border of this bordered wrapper.
|
java.awt.Dimension |
getSize()
Returns the size of this visual object.
|
void |
paint(java.awt.Graphics g,
java.awt.Point p)
Paints the visual object at the specified location.
|
void |
setBorder(VBorder border)
Sets the border of this bordered wrapper to be the specified border.
|
void |
setSize(java.awt.Dimension d)
Resizes the visual object to the specified dimension.
|
getVisualizable, isResizable, setVisualizableprotected VBorder border
public VBorderedWrapper(Visualizable visualizable, VBorder border)
visualizable - the wrapped visual object.border - the border.public VBorder getBorder()
public void setBorder(VBorder border)
border - the specified border.public java.awt.Dimension getSize()
getSize インタフェース内 VisualizablegetSize クラス内 VWrapperVisualizable.getSize()public void setSize(java.awt.Dimension d)
setSize インタフェース内 VisualizablesetSize クラス内 VWrapperd - the visual object dimension.Visualizable.setSize(java.awt.Dimension)public void paint(java.awt.Graphics g,
java.awt.Point p)
paint インタフェース内 Visualizablepaint クラス内 VWrapperg - the specified graphics.p - the location in the graphics to be painted.Visualizable.paint(java.awt.Graphics, java.awt.Point)public java.lang.Object clone()
clone インタフェース内 Visualizableclone クラス内 VWrapper