Class TitledPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.TitledPanelUI
- Direct Known Subclasses:
BasicTitledPanelUI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JComponentabstract JComponentabstract Containerabstract voidsetLeftDecoration(JComponent decoration) Adds the given JComponent as a decoration on the left of the titleabstract voidsetRightDecoration(JComponent decoration) Adds the given JComponent as a decoration on the right of the titleMethods inherited from class ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Constructor Details
-
TitledPanelUI
public TitledPanelUI()
-
-
Method Details
-
setRightDecoration
Adds the given JComponent as a decoration on the right of the title- Parameters:
decoration-
-
getRightDecoration
-
setLeftDecoration
Adds the given JComponent as a decoration on the left of the title- Parameters:
decoration-
-
getLeftDecoration
-
getTitleBar
- Returns:
- the Container acting as the title bar for this component
-