org.jdesktop.swingx.plaf.synth
Class SynthXListUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ListUI
-
- javax.swing.plaf.basic.BasicListUI
-
- org.jdesktop.swingx.plaf.basic.core.BasicXListUI
-
- org.jdesktop.swingx.plaf.synth.SynthXListUI
-
- All Implemented Interfaces:
- javax.swing.plaf.synth.SynthConstants, SynthUI
public class SynthXListUI extends BasicXListUI implements javax.swing.plaf.synth.SynthConstants, SynthUI
TODO add type doc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.core.BasicXListUI
BasicXListUI.FocusHandler, BasicXListUI.ListDataHandler, BasicXListUI.ListSelectionHandler, BasicXListUI.MouseInputHandler, BasicXListUI.PropertyChangeHandler
-
-
Constructor Summary
Constructors Constructor and Description SynthXListUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent list)Returns a new instance of SynthXListUI.javax.swing.plaf.synth.SynthContextgetContext(javax.swing.JComponent c)voidpaintBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)Paints border with the context's style's painter.voidupdate(java.awt.Graphics g, javax.swing.JComponent c)-
Methods inherited from class org.jdesktop.swingx.plaf.basic.core.BasicXListUI
getBaseline, getBaselineResizeBehavior, getCellBounds, getPreferredSize, indexToLocation, installUI, invalidateCellSizeCache, loadActionMap, locationToIndex, paint, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent list)
Returns a new instance of SynthXListUI. SynthXListUI delegates are allocated one per JList.- Returns:
- A new ListUI implementation for the Synth look and feel.
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)Overridden to fill background, Synth-style.
- Overrides:
updatein classjavax.swing.plaf.ComponentUI
-
paintBorder
public void paintBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)Paints border with the context's style's painter. Implemented for SynthUI interface.- Specified by:
paintBorderin interfaceSynthUI
-
getContext
public javax.swing.plaf.synth.SynthContext getContext(javax.swing.JComponent c)
Returns a context for the component's current state. Implemented for SynthUI interface.
PENDING JW: not entirely sure if allowed ... but need to replace SynthUI anyway?.
- Specified by:
getContextin interfaceSynthUI- Throws:
java.lang.IllegalArgumentException- if the component is not controlled by this delegate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG