46 |
import java.util.EventListener; |
import java.util.EventListener; |
47 |
import java.util.Locale; |
import java.util.Locale; |
48 |
import java.util.ResourceBundle; |
import java.util.ResourceBundle; |
49 |
|
import javax.accessibility.Accessible; |
50 |
|
import javax.accessibility.AccessibleContext; |
51 |
|
|
52 |
/** |
/** |
53 |
* This class represents a top-level window with no decorations. |
* This class represents a top-level window with no decorations. |
55 |
* @author Aaron M. Renn <arenn@urbanophile.com> |
* @author Aaron M. Renn <arenn@urbanophile.com> |
56 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
57 |
*/ |
*/ |
58 |
public class Window extends Container |
public class Window extends Container implements Accessible |
59 |
{ |
{ |
60 |
|
private static final long serialVersionUID = 4497834738069338734L; |
61 |
|
|
62 |
// Serialized fields, from Sun's serialization spec. |
// Serialized fields, from Sun's serialization spec. |
63 |
private String warningString = null; |
private String warningString = null; |
64 |
private int windowSerializedDataVersion = 0; // FIXME |
private int windowSerializedDataVersion = 0; // FIXME |
73 |
private transient WindowFocusListener windowFocusListener; |
private transient WindowFocusListener windowFocusListener; |
74 |
private transient WindowStateListener windowStateListener; |
private transient WindowStateListener windowStateListener; |
75 |
private transient GraphicsConfiguration graphicsConfiguration; |
private transient GraphicsConfiguration graphicsConfiguration; |
76 |
|
private transient AccessibleContext accessibleContext; |
77 |
|
|
78 |
/** |
/** |
79 |
* This (package access) constructor is used by subclasses that want |
* This (package access) constructor is used by subclasses that want |
92 |
this(); |
this(); |
93 |
graphicsConfiguration = gc; |
graphicsConfiguration = gc; |
94 |
} |
} |
95 |
|
|
96 |
/** |
/** |
97 |
* Initializes a new instance of <code>Window</code> with the specified |
* Initializes a new instance of <code>Window</code> with the specified |
98 |
* parent. The window will initially be invisible. |
* parent. The window will initially be invisible. |
590 |
*/ |
*/ |
591 |
public void applyResourceBundle(ResourceBundle rb) |
public void applyResourceBundle(ResourceBundle rb) |
592 |
{ |
{ |
593 |
// FIXME |
throw new Error ("Not implemented"); |
594 |
} |
} |
595 |
|
|
596 |
/** |
/** |
605 |
applyResourceBundle(rb); |
applyResourceBundle(rb); |
606 |
} |
} |
607 |
|
|
|
/* |
|
608 |
public AccessibleContext getAccessibleContext() |
public AccessibleContext getAccessibleContext() |
609 |
{ |
{ |
610 |
// FIXME |
// FIXME |
611 |
|
//return null; |
612 |
|
throw new Error ("Not implemented"); |
613 |
} |
} |
|
*/ |
|
614 |
|
|
615 |
/** |
/** |
616 |
* Get graphics configuration. The implementation for Window will |
* Get graphics configuration. The implementation for Window will |