All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.graphics.VBorderedWrapper
java.lang.Object
|
+----jp.kyasu.graphics.VWrapper
|
+----jp.kyasu.graphics.VBorderedWrapper
- public class VBorderedWrapper
- extends VWrapper
The VBorderedWrapper
class provides the borders for
a visual object.
- Version:
- 01 Aug 1997
- Author:
- Kazuki YASUMATSU
-
VBorderedWrapper(Visualizable, VBorder)
- Constructs a bordered wrapper with the wrapped visual object and
the border.
-
clone()
- Returns a clone of this visual object.
-
getBorder()
- Returns the border of this bordered wrapper.
-
getSize()
- Returns the size of this visual object.
-
paint(Graphics, Point)
- Paints the visual object at the specified location.
-
setBorder(VBorder)
- Sets the border of this bordered wrapper to be the specified border.
-
setSize(Dimension)
- Resizes the visual object to the specified dimension.
VBorderedWrapper
public VBorderedWrapper(Visualizable visualizable,
VBorder border)
- Constructs a bordered wrapper with the wrapped visual object and
the border.
- Parameters:
- visualizable - the wrapped visual object.
- border - the border.
getBorder
public VBorder getBorder()
- Returns the border of this bordered wrapper.
- Returns:
- the border of this bordered wrapper.
setBorder
public void setBorder(VBorder border)
- Sets the border of this bordered wrapper to be the specified border.
- Parameters:
- border - the specified border.
getSize
public Dimension getSize()
- Returns the size of this visual object.
- Overrides:
- getSize in class VWrapper
- See Also:
- getSize
setSize
public void setSize(Dimension d)
- Resizes the visual object to the specified dimension.
- Overrides:
- setSize in class VWrapper
- See Also:
- setSize
paint
public void paint(Graphics g,
Point p)
- Paints the visual object at the specified location.
- Overrides:
- paint in class VWrapper
- See Also:
- paint
clone
public Object clone()
- Returns a clone of this visual object.
- Overrides:
- clone in class VWrapper
All Packages Class Hierarchy This Package Previous Next Index