Documentation of 'org.jdesktop.swingx.renderer.AbstractRenderer' Java class
AbstractRenderer
org.jdesktop.swingx.renderer

Class AbstractRenderer

    • Method Detail

      • getComponentProvider

        public ComponentProvider<?> getComponentProvider()
        Returns the ComponentProvider used by this renderer.
        Returns:
        the ComponentProvider used by this renderer
      • getString

        public java.lang.String getString(java.lang.Object value)
        Returns a string representation of the given value.

        PENDING JW: forgot - why not null return guaranteed?

        Specified by:
        getString in interface StringValue
        Parameters:
        value - the object to present as a string
        Returns:
        a string representation of the given value, guaranteed to be not null
      • doClick

        public void doClick()
        Same as AbstractButton.doClick(). It's up to client code to prepare the renderer's component before calling this method.
        Specified by:
        doClick in interface RolloverRenderer
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface RolloverRenderer
        Returns:
        true if rollover effects are on and clickable.
      • updateUI

        public void updateUI()
        Updates all internal visuals after changing a UI-delegate.
        Specified by:
        updateUI in interface UIDependent
        See Also:
        JComponent.updateUI()
      • setBackground

        public void setBackground(java.awt.Color background)
        Parameters:
        background -
      • setForeground

        public void setForeground(java.awt.Color foreground)
        Parameters:
        foreground -

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.