org.tigris.swidgets
Class ArrowButton
javax.swing.JButtonorg.tigris.swidgets.ArrowButton
public class ArrowButton
extends javax.swing.JButton
A simple arrow button that can be created to point to
a compass point.
ArrowButton(int direction)- Construct an ArrowButton pointing in the given direction
|
ArrowButton(int direction, Border border)- Construct an ArrowButton pointing in the given direction
|
ArrowButton
public ArrowButton(int direction)
Construct an ArrowButton pointing in the given direction
direction - the direction the arrow will point, this being
one of the constants NORTH, SOUTH, EAST, WEST
ArrowButton
public ArrowButton(int direction,
Border border)Construct an ArrowButton pointing in the given direction
direction - the direction the arrow will point, this being
one of the constants NORTH, SOUTH, EAST, WEST
getPreferredSize
public Dimension getPreferredSize()