|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.util.PriorityValue<UIPriorityValue.Value<T>>
bibliothek.gui.dock.util.UIPriorityValue<T>
T - the kind of item this PriorityValue stores@FrameworkOnly public class UIPriorityValue<T>
A PriorityValue that supports working with UISchemes.
| Nested Class Summary | |
|---|---|
static interface |
UIPriorityValue.Value<T>
Represents a single entry in this map. |
| Constructor Summary | |
|---|---|
UIPriorityValue()
|
|
| Method Summary | |
|---|---|
UIScheme<?,?,?> |
getScheme(Priority priority)
Gets the scheme that created the entry with priority. |
T |
getValue()
Gets the current value of this UIPriorityValue. |
T |
getValue(Priority priority)
Gets the current value of UIPriorityValue on level priority. |
boolean |
isAllScheme()
Tells whether all entries of this value are either null or
are created by an UIScheme. |
boolean |
set(Priority priority,
T value,
UIScheme<?,?,?> scheme)
Sets the value of this using a value that may be
derived from scheme. |
| Methods inherited from class bibliothek.gui.dock.util.PriorityValue |
|---|
get, get, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIPriorityValue()
| Method Detail |
|---|
public boolean set(Priority priority,
T value,
UIScheme<?,?,?> scheme)
this using a value that may be
derived from scheme.
priority - the priority of the value to setvalue - the value that is to be set, can be nullscheme - the scheme that created value or null, ignored
if value is null
true if the value of this scheme changed because of
the call to this methodpublic UIScheme<?,?,?> getScheme(Priority priority)
priority.
priority - the priority of the entry that is queried
nullpublic boolean isAllScheme()
null or
are created by an UIScheme.
true if all entries of this value are null or createdpublic T getValue()
UIPriorityValue.
nullpublic T getValue(Priority priority)
UIPriorityValue on level priority.
priority - the level to search, not null
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||