View | Details | Raw Unified | Return to issue 121510
Collapse All | Expand All

(-)accessibility/bridge/org/openoffice/java/accessibility/Window.java (+23 lines)
Lines 543-547 Link Here
543
            unoAccessibleComponent.grabFocus();
543
            unoAccessibleComponent.grabFocus();
544
        }
544
        }
545
    }
545
    }
546
547
    /**
548
     * Determines whether this component is displayable. A component is
549
     * displayable when it is connected to a native screen resource.
550
     * <p>
551
     * A component is made displayable either when it is added to
552
     * a displayable containment hierarchy or when its containment
553
     * hierarchy is made displayable.
554
     * A containment hierarchy is made displayable when its ancestor
555
     * window is either packed or made visible.
556
     * <p>
557
     * A component is made undisplayable either when it is removed from
558
     * a displayable containment hierarchy or when its containment hierarchy
559
     * is made undisplayable.  A containment hierarchy is made
560
     * undisplayable when its ancestor window is disposed.
561
     *
562
     * @return <code>true</code> if the component is displayable
563
     */
564
    @Override
565
    public boolean isDisplayable() {
566
        return true;
567
    }
568
546
}
569
}
547
570
(-)accessibility/bridge/org/openoffice/java/accessibility/ComboBox.java (+12 lines)
Lines 110-113 Link Here
110
            return 1;
110
            return 1;
111
        }
111
        }
112
    }
112
    }
113
114
    /**
115
     * Returns whether this Component can be focused.
116
     *
117
     * @return <code>true</code> if this Component is focusable;
118
     *         <code>false</code> otherwise.
119
     * @see #setFocusable
120
     * @since 1.4
121
     */
122
    public boolean isFocusable() {
123
        return true;
124
    }
113
}
125
}
(-)accessibility/bridge/org/openoffice/java/accessibility/Frame.java (+23 lines)
Lines 638-642 Link Here
638
            unoAccessibleComponent.grabFocus();
638
            unoAccessibleComponent.grabFocus();
639
        }
639
        }
640
    }
640
    }
641
642
    /**
643
     * Determines whether this component is displayable. A component is
644
     * displayable when it is connected to a native screen resource.
645
     * <p>
646
     * A component is made displayable either when it is added to
647
     * a displayable containment hierarchy or when its containment
648
     * hierarchy is made displayable.
649
     * A containment hierarchy is made displayable when its ancestor
650
     * window is either packed or made visible.
651
     * <p>
652
     * A component is made undisplayable either when it is removed from
653
     * a displayable containment hierarchy or when its containment hierarchy
654
     * is made undisplayable.  A containment hierarchy is made
655
     * undisplayable when its ancestor window is disposed.
656
     *
657
     * @return <code>true</code> if the component is displayable
658
     */
659
    @Override
660
    public boolean isDisplayable() {
661
        return true;
662
    }
663
641
}
664
}
642
665
(-)accessibility/bridge/org/openoffice/java/accessibility/Dialog.java (-9 / +30 lines)
Lines 118-135 Link Here
118
    public void removeNotify() {
118
    public void removeNotify() {
119
    }
119
    }
120
    
120
    
121
        /**
121
    /**
122
         * Determines if the object is visible.  Note: this means that the
122
     * Determines if the object is visible.  Note: this means that the
123
         * object intends to be visible; however, it may not in fact be
123
     * object intends to be visible; however, it may not in fact be
124
         * showing on the screen because one of the objects that this object
124
     * showing on the screen because one of the objects that this object
125
         * is contained by is not visible.  To determine if an object is
125
     * is contained by is not visible.  To determine if an object is
126
         * showing on the screen, use <code>isShowing</code>.
126
     * showing on the screen, use <code>isShowing</code>.
127
         *
127
     *
128
         * @return true if object is visible; otherwise, false
128
     * @return true if object is visible; otherwise, false
129
         */
129
     */
130
    public boolean isVisible(){
130
    public boolean isVisible(){
131
        return visible;
131
        return visible;
132
    }
132
    }
133
134
    /**
135
     * Determines whether this component is displayable. A component is
136
     * displayable when it is connected to a native screen resource.
137
     * <p>
138
     * A component is made displayable either when it is added to
139
     * a displayable containment hierarchy or when its containment
140
     * hierarchy is made displayable.
141
     * A containment hierarchy is made displayable when its ancestor
142
     * window is either packed or made visible.
143
     * <p>
144
     * A component is made undisplayable either when it is removed from
145
     * a displayable containment hierarchy or when its containment hierarchy
146
     * is made undisplayable.  A containment hierarchy is made
147
     * undisplayable when its ancestor window is disposed.
148
     *
149
     * @return <code>true</code> if the component is displayable
150
     */
151
    public boolean isDisplayable() {
152
        return true;
153
    }
133
    
154
    
134
    /**
155
    /**
135
    * Shows or hides this component depending on the value of parameter
156
    * Shows or hides this component depending on the value of parameter

Return to issue 121510