| |
|
| javax.swing.JButton org.netbeans.swing.tabcontrol.plaf.TabControlButton
TabControlButton | abstract public class TabControlButton extends JButton (Code) | | A base class for control buttons placed within the tabs (view tabs) or
next to the tab row (editor tabs). By default the button posts a TabActionEvent
to the TabDisplayerUI when pressed.
The button is painted using a set of icons only unless 'showBorder' is true.
The icons should include 'fake' button border then.
since: 1.9 author: S. Aubrecht |
ID_CLOSE_BUTTON | final public static int ID_CLOSE_BUTTON(Code) | | |
ID_DROP_DOWN_BUTTON | final public static int ID_DROP_DOWN_BUTTON(Code) | | |
ID_MAXIMIZE_BUTTON | final public static int ID_MAXIMIZE_BUTTON(Code) | | |
ID_PIN_BUTTON | final public static int ID_PIN_BUTTON(Code) | | |
ID_RESTORE_BUTTON | final public static int ID_RESTORE_BUTTON(Code) | | |
ID_SCROLL_LEFT_BUTTON | final public static int ID_SCROLL_LEFT_BUTTON(Code) | | |
ID_SCROLL_RIGHT_BUTTON | final public static int ID_SCROLL_RIGHT_BUTTON(Code) | | |
ID_SLIDE_DOWN_BUTTON | final public static int ID_SLIDE_DOWN_BUTTON(Code) | | |
ID_SLIDE_LEFT_BUTTON | final public static int ID_SLIDE_LEFT_BUTTON(Code) | | |
ID_SLIDE_RIGHT_BUTTON | final public static int ID_SLIDE_RIGHT_BUTTON(Code) | | |
STATE_DEFAULT | final public static int STATE_DEFAULT(Code) | | |
STATE_DISABLED | final public static int STATE_DISABLED(Code) | | |
STATE_PRESSED | final public static int STATE_PRESSED(Code) | | |
STATE_ROLLOVER | final public static int STATE_ROLLOVER(Code) | | |
TabControlButton | TabControlButton(TabDisplayer displayer)(Code) | | Parameters: displayer - Tab displayer where this button is displayed. |
TabControlButton | TabControlButton(int buttonId, TabDisplayer displayer)(Code) | | Parameters: buttonId - Button type (close button, slide button etc) Parameters: displayer - Tab displayer where this button is displayed. |
TabControlButton | TabControlButton(int buttonId, TabDisplayer displayer, boolean showBorder)(Code) | | Parameters: buttonId - Button type (close button, slide button etc) Parameters: displayer - Tab displayer where this button is displayed. Parameters: showBorder - if false then only icon will be make button overall look,true means regular button border |
configureButton | protected void configureButton()(Code) | | Make sure that only button icon gets painted (turn off borders etc)
|
createTabActionEvent | protected TabActionEvent createTabActionEvent(ActionEvent e)(Code) | | Tab action event that is posted to the TabDisplayerUI when this button is pressed. |
getButtonId | protected int getButtonId()(Code) | | Button type identification that is used by the TabDisplayerUI to select the correcticons for this button. |
getDisabledIcon | public Icon getDisabledIcon()(Code) | | |
getDisabledSelectedIcon | public Icon getDisabledSelectedIcon()(Code) | | |
getRolloverIcon | public Icon getRolloverIcon()(Code) | | |
getRolloverSelectedIcon | public Icon getRolloverSelectedIcon()(Code) | | |
getTabActionCommand | abstract protected String getTabActionCommand(ActionEvent e)(Code) | | Parameters: e - Tab Action id that is posted to the TabDisplayerUI for processingwhen the button is pressed. |
performAction | void performAction(ActionEvent e)(Code) | | Post an event to the TabDisplayerUI that this button was pressed.
|
updateUI | public void updateUI()(Code) | | |
|
|
|