Documentation of 'org.jhotdraw.gui.DisclosureIcon' Java class
DisclosureIcon
org.jhotdraw.gui

Class DisclosureIcon

  • All Implemented Interfaces:
    javax.swing.Icon


    public class DisclosureIcon
    extends java.lang.Object
    implements javax.swing.Icon
    DisclosureIcon.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CURRENT_STATE_PROPERTY
      This client property needs to be set on the component.
      static java.lang.String STATE_COUNT_PROPERTY
      This client property needs to be set on the component.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DisclosureIcon() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getIconHeight() 
      int getIconWidth() 
      void paintIcon(java.awt.Component component, java.awt.Graphics g, int x, int y) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STATE_COUNT_PROPERTY

        public static final java.lang.String STATE_COUNT_PROPERTY
        This client property needs to be set on the component. The value must be a positive Integer.
        See Also:
        Constant Field Values
      • CURRENT_STATE_PROPERTY

        public static final java.lang.String CURRENT_STATE_PROPERTY
        This client property needs to be set on the component. The value must be a positive Integer.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DisclosureIcon

        public DisclosureIcon()
    • Method Detail

      • paintIcon

        public void paintIcon(java.awt.Component component,
                              java.awt.Graphics g,
                              int x,
                              int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface javax.swing.Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface javax.swing.Icon

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.