com.l2fprod.common.swing.plaf.misc
Class GlossyTaskPaneGroupUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by com.l2fprod.common.swing.plaf.TaskPaneGroupUI
              extended by com.l2fprod.common.swing.plaf.basic.BasicTaskPaneGroupUI
                  extended by com.l2fprod.common.swing.plaf.misc.GlossyTaskPaneGroupUI

public class GlossyTaskPaneGroupUI
extends BasicTaskPaneGroupUI

Paints the JTaskPaneGroup with a gradient in the title bar.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.l2fprod.common.swing.plaf.basic.BasicTaskPaneGroupUI
BasicTaskPaneGroupUI.ChevronIcon, BasicTaskPaneGroupUI.ContentPaneBorder, BasicTaskPaneGroupUI.PaneBorder
 
Field Summary
 
Fields inherited from class com.l2fprod.common.swing.plaf.basic.BasicTaskPaneGroupUI
group, mouseListener, mouseOver, propertyListener, ROUND_HEIGHT, TITLE_HEIGHT
 
Constructor Summary
GlossyTaskPaneGroupUI()
           
 
Method Summary
protected  javax.swing.border.Border createPaneBorder()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 void update(java.awt.Graphics g, javax.swing.JComponent c)
          Overriden to paint the background of the component but keeping the rounded corners.
 
Methods inherited from class com.l2fprod.common.swing.plaf.basic.BasicTaskPaneGroupUI
configure, createAction, createContentPaneBorder, createMouseInputListener, createPropertyListener, ensureVisible, getPreferredSize, getTitleHeight, installDefaults, installKeyboardActions, installListeners, installUI, isInBorder, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlossyTaskPaneGroupUI

public GlossyTaskPaneGroupUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

createPaneBorder

protected javax.swing.border.Border createPaneBorder()
Overrides:
createPaneBorder in class BasicTaskPaneGroupUI

update

public void update(java.awt.Graphics g,
                   javax.swing.JComponent c)
Overriden to paint the background of the component but keeping the rounded corners.

Overrides:
update in class javax.swing.plaf.ComponentUI