org.netbeans.swing.tabcontrol 1.36

org.netbeans.swing.tabcontrol.plaf
Class TabControlButtonFactory

java.lang.Object
  extended by org.netbeans.swing.tabcontrol.plaf.TabControlButtonFactory

public class TabControlButtonFactory
extends Object

A factory to create tab control buttons.

Since:
1.9

Method Summary
static TabControlButton createCloseButton(TabDisplayer displayer)
          Create default close button.
static TabControlButton createCloseGroupButton(TabDisplayer displayer)
          Create button to close the whole window group.
static TabControlButton createDropDownButton(TabDisplayer displayer, boolean showBorder)
           
static TabControlButton createMaximizeRestoreButton(TabDisplayer displayer, boolean showBorder)
          Create default maximize/restore button.
static TabControlButton createRestoreGroupButton(TabDisplayer displayer, String groupName)
          Create button to restore a group of windows from minimized state.
static TabControlButton createScrollLeftButton(TabDisplayer displayer, Action scrollAction, boolean showBorder)
           
static TabControlButton createScrollRightButton(TabDisplayer displayer, Action scrollAction, boolean showBorder)
           
static TabControlButton createSlideGroupButton(TabDisplayer displayer)
          Create default minimize window group button.
static TabControlButton createSlidePinButton(TabDisplayer displayer)
          Create default auto-hide/pin button.
static Icon getIcon(String iconPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIcon

public static Icon getIcon(String iconPath)

createCloseButton

public static TabControlButton createCloseButton(TabDisplayer displayer)
Create default close button.


createCloseGroupButton

public static TabControlButton createCloseGroupButton(TabDisplayer displayer)
Create button to close the whole window group.

Since:
1.27

createSlidePinButton

public static TabControlButton createSlidePinButton(TabDisplayer displayer)
Create default auto-hide/pin button. The button changes icons depending on the state of tab component.


createSlideGroupButton

public static TabControlButton createSlideGroupButton(TabDisplayer displayer)
Create default minimize window group button.

Since:
1.27

createRestoreGroupButton

public static TabControlButton createRestoreGroupButton(TabDisplayer displayer,
                                                        String groupName)
Create button to restore a group of windows from minimized state.

Parameters:
displayer -
groupName - Name of the group of windows to un-minimize. When the default window system implementation is being used then the group name is the name of TopComponent Mode.
Since:
1.27
See Also:
Mode.getName()

createMaximizeRestoreButton

public static TabControlButton createMaximizeRestoreButton(TabDisplayer displayer,
                                                           boolean showBorder)
Create default maximize/restore button. The button changes icons depending on the state of tab component.


createScrollLeftButton

public static TabControlButton createScrollLeftButton(TabDisplayer displayer,
                                                      Action scrollAction,
                                                      boolean showBorder)

createScrollRightButton

public static TabControlButton createScrollRightButton(TabDisplayer displayer,
                                                       Action scrollAction,
                                                       boolean showBorder)

createDropDownButton

public static TabControlButton createDropDownButton(TabDisplayer displayer,
                                                    boolean showBorder)

org.netbeans.swing.tabcontrol 1.36

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.