All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.ArrowButtonGadget

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.ContainerGadget
                   |
                   +----dtai.gwt.PanelGadget
                           |
                           +----dtai.gwt.BorderGadget
                                   |
                                   +----dtai.gwt.ClickableGadget
                                           |
                                           +----dtai.gwt.ButtonGadget
                                                   |
                                                   +----dtai.gwt.ArrowButtonGadget

public class ArrowButtonGadget
extends ButtonGadget
ArrowButtonGadget


Variable Index

 o DOWN
 o LEFT
 o RIGHT
 o UP

Constructor Index

 o ArrowButtonGadget()
Constructs an up ArrowButton
 o ArrowButtonGadget(int)
Constructs an ArrowButton with a particular arrow image.

Method Index

 o setDirection(int)
Sets the direction of the arrow for the ArrowButton
 o setFocusAllowed(boolean)
setFocusAllowed

Variables

 o UP
 public static final int UP
 o DOWN
 public static final int DOWN
 o LEFT
 public static final int LEFT
 o RIGHT
 public static final int RIGHT

Constructors

 o ArrowButtonGadget
 public ArrowButtonGadget()
Constructs an up ArrowButton

 o ArrowButtonGadget
 public ArrowButtonGadget(int direction)
Constructs an ArrowButton with a particular arrow image.

Parameters:
direction - Possible directions are: ArrowButtonGadget.UP ArrowButtonGadget.DOWN ArrowButtonGadget.LEFT ArrowButtonGadget.RIGHT

Methods

 o setFocusAllowed
 public void setFocusAllowed(boolean focusAllowed)
setFocusAllowed

Parameters:
focusAllowed - whether or not focus is allowed
Overrides:
setFocusAllowed in class ButtonGadget
 o setDirection
 public void setDirection(int direction)
Sets the direction of the arrow for the ArrowButton

Parameters:
direction - Possible directions are: ArrowButtonGadget.UP ArrowButtonGadget.DOWN ArrowButtonGadget.LEFT ArrowButtonGadget.RIGHT

All Packages  Class Hierarchy  This Package  Previous  Next  Index