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

Constructor Index

 o VAnchor(String)
Constructs an anchor with the specified name.

Method Index

 o clone()
Returns a clone of this visual object.
 o getName()
Returns the name of this anchor.
 o isResizable()
Checks the anchor is resizable or not.
 o paint(Graphics, Point)
Paints the anchor at the specified location.
 o setSize(Dimension)
Resizes the anchor to the specified dimension.

Constructors

 o VAnchor
 public VAnchor(String name)
Constructs an anchor with the specified name.

Parameters:
name - the name of the anchor.

Methods

 o getName
 public String getName()
Returns the name of this anchor.

Returns:
the name of this anchor.
 o setSize
 public void setSize(Dimension d)
Resizes the anchor to the specified dimension.

Overrides:
setSize in class VObject
See Also:
setSize
 o isResizable
 public boolean isResizable()
Checks the anchor is resizable or not.

Returns:
false.
Overrides:
isResizable in class VObject
See Also:
isResizable
 o paint
 public void paint(Graphics g,
                   Point p)
Paints the anchor at the specified location.

Overrides:
paint in class VObject
See Also:
paint
 o 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