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.
-
DOWN
- The down ArrowButton variable.
-
LEFT
- The left ArrowButton variable.
-
RIGHT
- The right ArrowButton variable.
-
UP
- The up ArrowButton variable.
-
ArrowButton(int)
- Constructs a new ArrowButton with the specified orientation.
-
addActionListener(ActionListener)
-
-
getMinimumSize()
- Gets the minimum size of this component.
-
paint(Graphics)
-
Paints the component.
-
processMouseEvent(MouseEvent)
-
Processes mouse events occurring on this component by
dispatching them to any registered MouseListener objects.
-
removeActionListener(ActionListener)
-
UP
public static final int UP
- The up ArrowButton variable.
DOWN
public static final int DOWN
- The down ArrowButton variable.
LEFT
public static final int LEFT
- The left ArrowButton variable.
RIGHT
public static final int RIGHT
- The right ArrowButton variable.
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
paint
public synchronized void paint(Graphics g)
- Paints the component.
- Overrides:
- paint in class Component
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
addActionListener
public void addActionListener(ActionListener al)
removeActionListener
public void removeActionListener(ActionListener al)
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