diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java index f7c1c08466fb..a9b2d51a42de 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java @@ -123,6 +123,27 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces return visible; } + /** + * Determines whether this component is displayable. A component is + * displayable when it is connected to a native screen resource. + *
+ * A component is made displayable either when it is added to + * a displayable containment hierarchy or when its containment + * hierarchy is made displayable. + * A containment hierarchy is made displayable when its ancestor + * window is either packed or made visible. + *
+ * A component is made undisplayable either when it is removed from
+ * a displayable containment hierarchy or when its containment hierarchy
+ * is made undisplayable. A containment hierarchy is made
+ * undisplayable when its ancestor window is disposed.
+ *
+ * @return true
if the component is displayable
+ */
+ public boolean isDisplayable() {
+ return true;
+ }
+
/**
* Shows or hides this component depending on the value of parameter
* b
.