|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.visuals.ToolbarButton
public class ToolbarButton
ToggleButton is a sub-class of PushButton that creates a button that displays images.
When the button is pressed an ActionEvent is sent to any listeners.
Notes:
PushButton,
ImageView,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sas.visuals.PushButton |
|---|
contentShift, label, RB_KEY |
| Fields inherited from class com.sas.visuals.BaseButton |
|---|
actionCommand, actionListenerList, borderPainted, BOTTOM, buttonListener, buttonModel, currentInsets, defaultIcon, disabledIcon, displayTransform, focusGap, focusPainted, gap, hasFocus, horizontalAlignment, horizontalTextAlignment, item, itemListenerList, LEFT, pressedIcon, resizeToFit, RIGHT, rolloverIcon, selectedIcon, text, textPosition, TOP, updateItem, updateText, verticalAlignment, verticalTextAlignment |
| Fields inherited from interface com.sas.visuals.Alignment |
|---|
BEGIN, CENTER, END |
| Constructor Summary | |
|---|---|
ToolbarButton()
Default constructor. |
|
ToolbarButton(com.sas.visuals.IconInterface defaultImg)
Constructor that sets the default Icon for display. |
|
| Method Summary | |
|---|---|
static int |
getDefaultHeight()
Returns the default height in pixels |
static int |
getDefaultWidth()
Returns the default width in pixels |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
Returns information used by the com.sas.beans.Introspector to
augment the automatically introspected information about this ToolbarButton. |
static void |
setDefaultHeight(int newHeight)
Sets the default height in pixels |
static void |
setDefaultWidth(int newWidth)
Sets the default widthin pixels |
| Methods inherited from class com.sas.visuals.PushButton |
|---|
buttonModelArmed, buttonModelPressed, clone, contentShift, getContentShift, getMinimumSize, getSource, paint, paintBackground, paintFocus, setContentShift, setFont, setHorizontalTextAlignment, setSource, setText, setVerticalTextAlignment |
| Methods inherited from interface com.sas.awt.ContainerInterface |
|---|
getComponents, getLayout, invalidate, setLayout, validate |
| Constructor Detail |
|---|
public ToolbarButton()
public ToolbarButton(com.sas.visuals.IconInterface defaultImg)
defaultImg - the default IconInterface| Method Detail |
|---|
public static int getDefaultHeight()
setDefaultHeight(int)public static int getDefaultWidth()
setDefaultWidth(int)public static void setDefaultHeight(int newHeight)
newHeight - the desired default height in pixelsgetDefaultHeight()public static void setDefaultWidth(int newWidth)
newWidth - the desired default width in pixelssetDefaultWidth(int)public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
com.sas.beans.Introspector to
augment the automatically introspected information about this ToolbarButton.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||