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
-
DOWN
-
-
LEFT
-
-
RIGHT
-
-
UP
-
-
ArrowButtonGadget()
- Constructs an up ArrowButton
-
ArrowButtonGadget(int)
- Constructs an ArrowButton with a particular arrow image.
-
setDirection(int)
- Sets the direction of the arrow for the ArrowButton
-
setFocusAllowed(boolean)
- setFocusAllowed
UP
public static final int UP
DOWN
public static final int DOWN
LEFT
public static final int LEFT
RIGHT
public static final int RIGHT
ArrowButtonGadget
public ArrowButtonGadget()
- Constructs an up ArrowButton
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
setFocusAllowed
public void setFocusAllowed(boolean focusAllowed)
- setFocusAllowed
- Parameters:
- focusAllowed - whether or not focus is allowed
- Overrides:
- setFocusAllowed in class ButtonGadget
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