| javax.swing.JToggleButton org.netbeans.swing.tabcontrol.SlidingButton
SlidingButton | final public class SlidingButton extends JToggleButton (Code) | | JToggleButton subclass which maps to an index in the data model, and displays
whatever the content of the data model at that index is. Buttons are added or removed
from the tab displayer as the model changes. This class is public to allow
alternate UIs for the buttons to be provided via subclasses of SlidingButtonUI .
author: Dafe Simonek, Tim Boudreau |
Constructor Summary | |
public | SlidingButton(TabData buttonData, int orientation) Create a new button representing TabData from the model. |
UI_CLASS_ID | final public static String UI_CLASS_ID(Code) | | UI Class ID for IndexButtons, to be used by providers of UI delegates
|
SlidingButton | public SlidingButton(TabData buttonData, int orientation)(Code) | | Create a new button representing TabData from the model.
Parameters: buttonData - Tab data as text, icon, tooltip etc. Parameters: orientation - horizontal/vertical orientation of the button |
addNotify | public void addNotify()(Code) | | |
getOrientation | public int getOrientation()(Code) | | Returns orinetation of this button
|
isBlinkState | final public boolean isBlinkState()(Code) | | Used by the UI to determine whether to use the blink
color or the regular color
|
isBlinking | public boolean isBlinking()(Code) | | |
removeNotify | public void removeNotify()(Code) | | |
setBlinking | public void setBlinking(boolean val)(Code) | | |
updateUI | public void updateUI()(Code) | | Swing standard technique for attaching UI class ********
|
|
|