com.imagero.gui.flowin.plaf
Class BasicButtonPanelUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended bycom.imagero.gui.flowin.plaf.TabContainerUI
          extended bycom.imagero.gui.flowin.plaf.ButtonPanelUI
              extended bycom.imagero.gui.flowin.plaf.BasicButtonPanelUI
Direct Known Subclasses:
MetalButtonPanelUI, WindowsButtonPanelUI

public class BasicButtonPanelUI
extends ButtonPanelUI


Nested Class Summary
 
Nested classes inherited from class com.imagero.gui.flowin.plaf.TabContainerUI
TabContainerUI.DefaultTextComparator, TabContainerUI.EnumComparator, TabContainerUI.EnumMouseHandler, TabContainerUI.FancyMouseHandler, TabContainerUI.HoverMouseHandler, TabContainerUI.InvertedTextComparator, TabContainerUI.MouseHandler, TabContainerUI.PropertyChangeHandler, TabContainerUI.SimpleMouseHandler, TabContainerUI.StringComparator, TabContainerUI.TabPanelMouseHandler
 
Field Summary
 
Fields inherited from class com.imagero.gui.flowin.plaf.TabContainerUI
COMPARATOR, MOUSE_HANDLER
 
Constructor Summary
BasicButtonPanelUI()
           
 
Method Summary
protected  javax.swing.border.Border createBorder(javax.swing.AbstractButton b)
           
protected  javax.swing.border.Border createRolloverBorder(javax.swing.AbstractButton b)
           
protected  javax.swing.border.Border createToggleBorder(javax.swing.AbstractButton b)
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the UI delegate for the specified component.
 javax.swing.border.Border getBorder(javax.swing.AbstractButton b)
           
 javax.swing.border.Border getRolloverBorder(javax.swing.AbstractButton b)
           
 javax.swing.border.Border getToggleBorder(javax.swing.AbstractButton b)
           
 
Methods inherited from class com.imagero.gui.flowin.plaf.ButtonPanelUI
installBorder, installUI, resetBorder, resetBorders, setBorders, uninstallUI
 
Methods inherited from class com.imagero.gui.flowin.plaf.TabContainerUI
getComparator, getDefaultTextComparator, getEnumComparator, getFancyMouseHandler, getHoverMouseHandler, getInvertedTextComparator, getMouseHandler, getPropertyChangeHandler, getSimpleMouseHandler, getStringComparator, getTabBorder, getTabPanelMouseHandler, installListeners, maybeShowPopup, unistallListeners
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicButtonPanelUI

public BasicButtonPanelUI()
Method Detail

createBorder

protected javax.swing.border.Border createBorder(javax.swing.AbstractButton b)

createRolloverBorder

protected javax.swing.border.Border createRolloverBorder(javax.swing.AbstractButton b)

createToggleBorder

protected javax.swing.border.Border createToggleBorder(javax.swing.AbstractButton b)

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.ComponentUI
Returns an instance of the UI delegate for the specified component. Each subclass must provide its own static createUI method that returns an instance of that UI delegate subclass. If the UI delegate subclass is stateless, it may return an instance that is shared by multiple components. If the UI delegate is stateful, then it should return a new instance per component. The default implementation of this method throws an error, as it should never be invoked.


getBorder

public javax.swing.border.Border getBorder(javax.swing.AbstractButton b)
Specified by:
getBorder in class ButtonPanelUI

getRolloverBorder

public javax.swing.border.Border getRolloverBorder(javax.swing.AbstractButton b)
Specified by:
getRolloverBorder in class ButtonPanelUI

getToggleBorder

public javax.swing.border.Border getToggleBorder(javax.swing.AbstractButton b)
Specified by:
getToggleBorder in class ButtonPanelUI