/[classpath]/classpath/javax/swing/JComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/JComponent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by mkoch, Sat Sep 25 15:58:19 2004 UTC revision 1.25 by mkoch, Sat Sep 25 16:06:16 2004 UTC
# Line 318  public abstract class JComponent extends Line 318  public abstract class JComponent extends
318     * first client property.     * first client property.
319     */     */
320    private Hashtable clientProperties;    private Hashtable clientProperties;
321      
322    private InputMap inputMap_whenFocused;    private InputMap inputMap_whenFocused;
323    private InputMap inputMap_whenAncestorOfFocused;    private InputMap inputMap_whenAncestorOfFocused;
324    private InputMap inputMap_whenInFocusedWindow;    private InputMap inputMap_whenInFocusedWindow;
# Line 1023  public abstract class JComponent extends Line 1023  public abstract class JComponent extends
1023    }    }
1024    
1025    /**    /**
1026       * Checks if a maximum size was explicitely set on the component.
1027       *
1028       * @return <code>true</code> if a maximum size was set,
1029       * <code>false</code> otherwise
1030       *
1031       * @since 1.3
1032       */
1033      public boolean isMaximumSizeSet()
1034      {
1035        return maximumSize != null;
1036      }
1037    
1038      /**
1039       * Checks if a minimum size was explicitely set on the component.
1040       *
1041       * @return <code>true</code> if a minimum size was set,
1042       * <code>false</code> otherwise
1043       *
1044       * @since 1.3
1045       */
1046      public boolean isMinimumSizeSet()
1047      {
1048        return minimumSize != null;
1049      }
1050    
1051      /**
1052       * Checks if a preferred size was explicitely set on the component.
1053       *
1054       * @return <code>true</code> if a preferred size was set,
1055       * <code>false</code> otherwise
1056       *
1057       * @since 1.3
1058       */
1059      public boolean isPreferredSizeSet()
1060      {
1061        return preferredSize != null;
1062      }
1063      
1064      /**
1065     * Return the value of the {@link #nextFocusableComponent} property.     * Return the value of the {@link #nextFocusableComponent} property.
1066     *     *
1067     * @deprecated See {@link java.awt.FocusTraversalPolicy}     * @deprecated See {@link java.awt.FocusTraversalPolicy}
# Line 1753  public abstract class JComponent extends Line 1792  public abstract class JComponent extends
1792        }        }
1793      return false;      return false;
1794    }    }
1795      
1796    /**    /**
1797     * Remove a keyboard action registry.     * Remove a keyboard action registry.
1798     *     *

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26