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 |