Documentation of 'org.jdesktop.swingx.plaf.synth.SynthXListUI' Java class
SynthXListUI
org.jdesktop.swingx.plaf.synth

Class 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
    • Constructor Detail

      • SynthXListUI

        public SynthXListUI()
    • 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:
        update in class javax.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:
        paintBorder in interface SynthUI
      • 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:
        getContext in interface SynthUI
        Throws:
        java.lang.IllegalArgumentException - if the component is not controlled by this delegate

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.