/[classpath]/classpath/javax/accessibility/AccessibleComponent.java
ViewVC logotype

Diff of /classpath/javax/accessibility/AccessibleComponent.java

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

revision 1.5 by ericb, Mon Mar 18 22:22:45 2002 UTC revision 1.6 by ericb, Thu Apr 25 06:06:10 2002 UTC
# Line 134  public interface AccessibleComponent Line 134  public interface AccessibleComponent
134     *     *
135     * @param font the specified font     * @param font the specified font
136     * @return the metrics for the specified font, or null if not supported     * @return the metrics for the specified font, or null if not supported
137       * @throws NullPointerException if font is null
138     * @see #getFont()     * @see #getFont()
139     */     */
   // XXX What happens if font is null?  
140    FontMetrics getFontMetrics(Font font);    FontMetrics getFontMetrics(Font font);
141    
142    /**    /**
# Line 201  public interface AccessibleComponent Line 201  public interface AccessibleComponent
201     *     *
202     * @param point the Point to locate     * @param point the Point to locate
203     * @return true if the point is within this component     * @return true if the point is within this component
204       * @throws NullPointerException if point is null
205     * @see #getBounds()     * @see #getBounds()
206     */     */
   // XXX What happens if point is null?  
207    boolean contains(Point point);    boolean contains(Point point);
208    
209    /**    /**
# Line 232  public interface AccessibleComponent Line 232  public interface AccessibleComponent
232     * specified represents the top-left corner of this component.     * specified represents the top-left corner of this component.
233     *     *
234     * @param point the top-left corner of this component relative to the parent     * @param point the top-left corner of this component relative to the parent
235       * @throws NullPointerException if point is null
236     * @see #getLocation()     * @see #getLocation()
237     */     */
   // XXX What happens if point is null?  
238    void setLocation(Point point);    void setLocation(Point point);
239    
240    /**    /**
# Line 251  public interface AccessibleComponent Line 251  public interface AccessibleComponent
251     * relative location to its parent.     * relative location to its parent.
252     *     *
253     * @param rectangle the new height, width, and relative location     * @param rectangle the new height, width, and relative location
254       * @throws NullPointerException if rectangle is null
255     */     */
   // XXX What happens if rectangle is null?  
256    void setBounds(Rectangle rectangle);    void setBounds(Rectangle rectangle);
257    
258    /**    /**
# Line 267  public interface AccessibleComponent Line 267  public interface AccessibleComponent
267     * Set the size of this component to the given dimensions.     * Set the size of this component to the given dimensions.
268     *     *
269     * @param dimension the new size of the component     * @param dimension the new size of the component
270       * @throws NullPointerException if dimension is null
271     * @see #getSize()     * @see #getSize()
272     */     */
   // XXX What happens if dimension is null?  
273    void setSize(Dimension dimension);    void setSize(Dimension dimension);
274    
275    /**    /**
276     * If a object exists at the specified point which is a child of this     * If an object exists at the specified point which is a child of this
277     * parent component, and it is accessible, then it is returned.     * parent component, and it is accessible, then it is returned.
278     *     *
279     * @param point the location within this component's coordinate system     * @param point the location within this component's coordinate system

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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