jdk/src/share/classes/javax/swing/plaf/nimbus/NimbusStyle.java
changeset 21278 ef8a3a2a72f2
parent 20169 d7fa6d7586c9
child 22260 c9185e010e03
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   806         validate();
   806         validate();
   807         return values;
   807         return values;
   808     }
   808     }
   809 
   809 
   810     /**
   810     /**
   811      * Simple utility method that searchs the given array of Strings for the
   811      * Simple utility method that searches the given array of Strings for the
   812      * given string. This method is only called from getExtendedState if
   812      * given string. This method is only called from getExtendedState if
   813      * the developer has specified a specific state for the component to be
   813      * the developer has specified a specific state for the component to be
   814      * in (ie, has "wedged" the component in that state) by specifying
   814      * in (ie, has "wedged" the component in that state) by specifying
   815      * they client property "Nimbus.State".
   815      * they client property "Nimbus.State".
   816      *
   816      *
  1008         lastState[0] = -1;
  1008         lastState[0] = -1;
  1009         return null;
  1009         return null;
  1010     }
  1010     }
  1011 
  1011 
  1012     /**
  1012     /**
  1013      * Contains values such as the UIDefaults and painters asssociated with
  1013      * Contains values such as the UIDefaults and painters associated with
  1014      * a state. Whereas <code>State</code> represents a distinct state that a
  1014      * a state. Whereas <code>State</code> represents a distinct state that a
  1015      * component can be in (such as Enabled), this class represents the colors,
  1015      * component can be in (such as Enabled), this class represents the colors,
  1016      * fonts, painters, etc associated with some state for this
  1016      * fonts, painters, etc associated with some state for this
  1017      * style.
  1017      * style.
  1018      */
  1018      */