home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / Box$AccessibleBox.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  4.1 KB  |  169 lines

  1. package javax.swing;
  2.  
  3. import java.awt.Color;
  4. import java.awt.Container;
  5. import java.awt.Cursor;
  6. import java.awt.Dimension;
  7. import java.awt.Font;
  8. import java.awt.FontMetrics;
  9. import java.awt.Point;
  10. import java.awt.Rectangle;
  11. import java.awt.event.FocusListener;
  12. import java.io.Serializable;
  13. import java.util.Locale;
  14. import javax.accessibility.Accessible;
  15. import javax.accessibility.AccessibleComponent;
  16. import javax.accessibility.AccessibleContext;
  17. import javax.accessibility.AccessibleRole;
  18. import javax.accessibility.AccessibleStateSet;
  19.  
  20. public class Box$AccessibleBox extends AccessibleContext implements Serializable, AccessibleComponent {
  21.    // $FF: synthetic field
  22.    private final Box this$0;
  23.  
  24.    protected Box$AccessibleBox(Box var1) {
  25.       this.this$0 = var1;
  26.    }
  27.  
  28.    public void addFocusListener(FocusListener var1) {
  29.       this.this$0.addFocusListener(var1);
  30.    }
  31.  
  32.    public boolean contains(Point var1) {
  33.       return this.this$0.contains(var1);
  34.    }
  35.  
  36.    public Accessible getAccessibleAt(Point var1) {
  37.       return SwingUtilities.getAccessibleAt(this.this$0, var1);
  38.    }
  39.  
  40.    public Accessible getAccessibleChild(int var1) {
  41.       return SwingUtilities.getAccessibleChild(this.this$0, var1);
  42.    }
  43.  
  44.    public int getAccessibleChildrenCount() {
  45.       return SwingUtilities.getAccessibleChildrenCount(this.this$0);
  46.    }
  47.  
  48.    public AccessibleComponent getAccessibleComponent() {
  49.       return this;
  50.    }
  51.  
  52.    public int getAccessibleIndexInParent() {
  53.       return SwingUtilities.getAccessibleIndexInParent(this.this$0);
  54.    }
  55.  
  56.    public Accessible getAccessibleParent() {
  57.       Container var1 = this.this$0.getParent();
  58.       return var1 instanceof Accessible ? (Accessible)var1 : null;
  59.    }
  60.  
  61.    public AccessibleRole getAccessibleRole() {
  62.       return AccessibleRole.FILLER;
  63.    }
  64.  
  65.    public AccessibleStateSet getAccessibleStateSet() {
  66.       return SwingUtilities.getAccessibleStateSet(this.this$0);
  67.    }
  68.  
  69.    public Color getBackground() {
  70.       return this.this$0.getBackground();
  71.    }
  72.  
  73.    public Rectangle getBounds() {
  74.       return this.this$0.getBounds();
  75.    }
  76.  
  77.    public Cursor getCursor() {
  78.       return this.this$0.getCursor();
  79.    }
  80.  
  81.    public Font getFont() {
  82.       return this.this$0.getFont();
  83.    }
  84.  
  85.    public FontMetrics getFontMetrics(Font var1) {
  86.       return this.this$0.getFontMetrics(var1);
  87.    }
  88.  
  89.    public Color getForeground() {
  90.       return this.this$0.getForeground();
  91.    }
  92.  
  93.    public Locale getLocale() {
  94.       return this.this$0.getLocale();
  95.    }
  96.  
  97.    public Point getLocation() {
  98.       return this.this$0.getLocation();
  99.    }
  100.  
  101.    public Point getLocationOnScreen() {
  102.       return this.this$0.getLocationOnScreen();
  103.    }
  104.  
  105.    public Dimension getSize() {
  106.       return this.this$0.getSize();
  107.    }
  108.  
  109.    public boolean isEnabled() {
  110.       return this.this$0.isEnabled();
  111.    }
  112.  
  113.    public boolean isFocusTraversable() {
  114.       return this.this$0.isFocusTraversable();
  115.    }
  116.  
  117.    public boolean isShowing() {
  118.       return this.this$0.isShowing();
  119.    }
  120.  
  121.    public boolean isVisible() {
  122.       return this.this$0.isVisible();
  123.    }
  124.  
  125.    public void removeFocusListener(FocusListener var1) {
  126.       this.this$0.removeFocusListener(var1);
  127.    }
  128.  
  129.    public void requestFocus() {
  130.       this.this$0.requestFocus();
  131.    }
  132.  
  133.    public void setBackground(Color var1) {
  134.       this.this$0.setBackground(var1);
  135.    }
  136.  
  137.    public void setBounds(Rectangle var1) {
  138.       this.this$0.setBounds(var1);
  139.    }
  140.  
  141.    public void setCursor(Cursor var1) {
  142.       this.this$0.setCursor(var1);
  143.    }
  144.  
  145.    public void setEnabled(boolean var1) {
  146.       this.this$0.setEnabled(var1);
  147.    }
  148.  
  149.    public void setFont(Font var1) {
  150.       this.this$0.setFont(var1);
  151.    }
  152.  
  153.    public void setForeground(Color var1) {
  154.       this.this$0.setForeground(var1);
  155.    }
  156.  
  157.    public void setLocation(Point var1) {
  158.       this.this$0.setLocation(var1);
  159.    }
  160.  
  161.    public void setSize(Dimension var1) {
  162.       this.this$0.setSize(var1);
  163.    }
  164.  
  165.    public void setVisible(boolean var1) {
  166.       this.this$0.setVisible(var1);
  167.    }
  168. }
  169.