|
org.openide.windows 6.5.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.windows.CloneableTopComponent.Ref
public static class CloneableTopComponent.Ref
Keeps track of a group of sister clones.
Warning: For proper use subclasses should have method readResolve () and implement it in right way to deal with separate serialization of TopComponent.
Constructor Summary | |
---|---|
protected |
CloneableTopComponent.Ref()
Default constructor for creating empty reference. |
Method Summary | |
---|---|
CloneableTopComponent |
getAnyComponent()
Deprecated. Use getArbitraryComponent() instead.
It doesn't throw a runtime exception. |
CloneableTopComponent |
getArbitraryComponent()
Gets arbitrary component from the set. |
Enumeration |
getComponents()
Enumeration of all registered components. |
boolean |
isEmpty()
Test whether there is any component in this set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CloneableTopComponent.Ref()
Method Detail |
---|
public Enumeration getComponents()
public boolean isEmpty()
true
if the reference set is emptypublic CloneableTopComponent getAnyComponent()
getArbitraryComponent()
instead.
It doesn't throw a runtime exception.
NoSuchElementException
- if the set is emptypublic CloneableTopComponent getArbitraryComponent()
CloneableTopComponent
from the set
or null
if the set is empty
|
org.openide.windows 6.5.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |