|
org.openide.io 1.23.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.windows.IOSelect
public abstract class IOSelect
Capability of an InputOutput of finer grained selection of a component.
InputOutput.select() does too much.
Nested Class Summary | |
---|---|
static class |
IOSelect.AdditionalOperation
Additional operations to perform when issuing select(org.openide.windows.InputOutput, java.util.Set . |
Constructor Summary | |
---|---|
IOSelect()
|
Method Summary | |
---|---|
static boolean |
isSupported(InputOutput io)
Checks whether this feature is supported for provided IO |
static void |
select(InputOutput io,
Set<IOSelect.AdditionalOperation> extraOps)
With an empty 'extraOps' simply selects this io without involving it's containing TopComponent. |
protected abstract void |
select(Set<IOSelect.AdditionalOperation> extraOps)
With an empty 'extraOps' simply selects this io without involving it's containing TopComponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOSelect()
Method Detail |
---|
public static void select(InputOutput io, Set<IOSelect.AdditionalOperation> extraOps)
For example:
if (IOSelect.isSupported(io) { IOSelect.select(io, EnumSet.noneOf(IOSelect.AdditionalOperation.class)); }
If this capability is not supported then regular InputOutput.select() will be called.
io
- InputOutput to operate on.extraOps
- Additional operations to apply to the containing
TopComponent.public static boolean isSupported(InputOutput io)
io
- IO to check on
protected abstract void select(Set<IOSelect.AdditionalOperation> extraOps)
extraOps
- Additional operations to apply to the containing
TopComponent.
|
org.openide.io 1.23.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |