All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.ArrowButton

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.ArrowButton

public class ArrowButton
extends Component
A class that produces a ArrowButton component.


Variable Index

 o DOWN
The down ArrowButton variable.
 o LEFT
The left ArrowButton variable.
 o RIGHT
The right ArrowButton variable.
 o UP
The up ArrowButton variable.

Constructor Index

 o ArrowButton(int)
Constructs a new ArrowButton with the specified orientation.

Method Index

 o addActionListener(ActionListener)
 o getMinimumSize()
Gets the minimum size of this component.
 o paint(Graphics)
Paints the component.
 o processMouseEvent(MouseEvent)
Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.
 o removeActionListener(ActionListener)

Variables

 o UP
 public static final int UP
The up ArrowButton variable.

 o DOWN
 public static final int DOWN
The down ArrowButton variable.

 o LEFT
 public static final int LEFT
The left ArrowButton variable.

 o RIGHT
 public static final int RIGHT
The right ArrowButton variable.

Constructors

 o ArrowButton
 public ArrowButton(int orientation)
Constructs a new ArrowButton with the specified orientation.

Parameters:
orientation - either ArrowButton.UP, ArrowButton.DOWN, ArrowButton.LEFT or ArrowButton.RIGHT

Methods

 o paint
 public synchronized void paint(Graphics g)
Paints the component.

Overrides:
paint in class Component
 o processMouseEvent
 public synchronized void processMouseEvent(MouseEvent me)
Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.

Overrides:
processMouseEvent in class Component
 o addActionListener
 public void addActionListener(ActionListener al)
 o removeActionListener
 public void removeActionListener(ActionListener al)
 o getMinimumSize
 public Dimension getMinimumSize()
Gets the minimum size of this component.

Overrides:
getMinimumSize in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index