home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161a.iso / handson / files / copyjava.exe / com / sun / java / swing / Box$AccessibleBox.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-02-26  |  4.4 KB  |  170 lines

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