org.jdesktop.swingx.plaf
Class TitledPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.TitledPanelUI
Direct Known Subclasses:
BasicTitledPanelUI

public abstract class TitledPanelUI
extends PanelUI


Constructor Summary
TitledPanelUI()
           
 
Method Summary
abstract  JComponent getLeftDecoration()
           
abstract  JComponent getRightDecoration()
           
abstract  Container getTitleBar()
           
abstract  void setLeftDecoration(JComponent decoration)
          Adds the given JComponent as a decoration on the left of the title
abstract  void setRightDecoration(JComponent decoration)
          Adds the given JComponent as a decoration on the right of the title
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TitledPanelUI

public TitledPanelUI()
Method Detail

setRightDecoration

public abstract void setRightDecoration(JComponent decoration)
Adds the given JComponent as a decoration on the right of the title

Parameters:
decoration -

getRightDecoration

public abstract JComponent getRightDecoration()

setLeftDecoration

public abstract void setLeftDecoration(JComponent decoration)
Adds the given JComponent as a decoration on the left of the title

Parameters:
decoration -

getLeftDecoration

public abstract JComponent getLeftDecoration()

getTitleBar

public abstract Container getTitleBar()
Returns:
the Container acting as the title bar for this component