All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.graphics.VArrow
java.lang.Object
|
+----jp.kyasu.graphics.VObject
|
+----jp.kyasu.graphics.VArrow
- public class VArrow
- extends VObject
The VArrow
class implements a visual arrow. The arrow
creates different visual presentations according to the direction.
- Version:
- 08 Aug 1997
- Author:
- Kazuki YASUMATSU
-
DOWN
- The arrow direction constat for the down direction.
-
LEFT
- The arrow direction constat for the left direction.
-
RIGHT
- The arrow direction constat for the right direction.
-
UP
- The arrow direction constat for the up direction.
-
VArrow(int)
- Constructs an arrow with the specified direction.
-
clone()
- Returns a clone of this arrow.
-
getDirection()
- Returns the direction of the arrow.
-
paint(Graphics, Point)
- Paints the arrow at the specified location.
-
setDirection(int)
- Sets the direction of the arrow to the specified direction.
UP
public static final int UP
- The arrow direction constat for the up direction.
DOWN
public static final int DOWN
- The arrow direction constat for the down direction.
LEFT
public static final int LEFT
- The arrow direction constat for the left direction.
RIGHT
public static final int RIGHT
- The arrow direction constat for the right direction.
VArrow
public VArrow(int direction)
- Constructs an arrow with the specified direction.
- Parameters:
- direction - the direction of the arrow.
getDirection
public int getDirection()
- Returns the direction of the arrow.
- Returns:
- the direction of the arrow.
- See Also:
- UP, DOWN, LEFT, RIGHT
setDirection
public void setDirection(int direction)
- Sets the direction of the arrow to the specified direction.
- Parameters:
- direction - the direction of the checkbox.
- See Also:
- UP, DOWN, LEFT, RIGHT
paint
public void paint(Graphics g,
Point p)
- Paints the arrow at the specified location.
- Overrides:
- paint in class VObject
- See Also:
- paint
clone
public Object clone()
- Returns a clone of this arrow.
- Overrides:
- clone in class VObject
All Packages Class Hierarchy This Package Previous Next Index