All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.graphics.html.VAnchor
java.lang.Object
|
+----jp.kyasu.graphics.VObject
|
+----jp.kyasu.graphics.html.VAnchor
- public class VAnchor
- extends VObject
The VAnchor
class implements the target anchor in the
HTML documents.
- Version:
- 01 Nov 1997
- Author:
- Kazuki YASUMATSU
-
VAnchor(String)
- Constructs an anchor with the specified name.
-
clone()
- Returns a clone of this visual object.
-
getName()
- Returns the name of this anchor.
-
isResizable()
- Checks the anchor is resizable or not.
-
paint(Graphics, Point)
- Paints the anchor at the specified location.
-
setSize(Dimension)
- Resizes the anchor to the specified dimension.
VAnchor
public VAnchor(String name)
- Constructs an anchor with the specified name.
- Parameters:
- name - the name of the anchor.
getName
public String getName()
- Returns the name of this anchor.
- Returns:
- the name of this anchor.
setSize
public void setSize(Dimension d)
- Resizes the anchor to the specified dimension.
- Overrides:
- setSize in class VObject
- See Also:
- setSize
isResizable
public boolean isResizable()
- Checks the anchor is resizable or not.
- Returns:
-
false
.
- Overrides:
- isResizable in class VObject
- See Also:
- isResizable
paint
public void paint(Graphics g,
Point p)
- Paints the anchor at the specified location.
- Overrides:
- paint in class VObject
- See Also:
- paint
clone
public Object clone()
- Returns a clone of this visual object.
- Overrides:
- clone in class VObject
All Packages Class Hierarchy This Package Previous Next Index