|
Forge - UI API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.forge.ui.context.AbstractUIContext
public class AbstractUIContext
A default implementation of UIContext.
| Constructor Summary | |
|---|---|
AbstractUIContext()
|
|
| Method Summary | ||
|---|---|---|
Object |
getAttribute(Object key)
Get an Object from the UIContext attribute map. |
|
|
getInitialSelection()
Get the user's initial selection. |
|
Object |
removeAttribute(Object key)
Remove an Object from the UIContext attribute map. |
|
void |
setAttribute(Object key,
Object value)
Set an Object key in the UIContext attribute map to the given value. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUIContext()
| Method Detail |
|---|
public <T> UISelection<T> getInitialSelection()
UIContext
getInitialSelection in interface UIContextpublic Object getAttribute(Object key)
UIContextObject from the UIContext attribute map.
getAttribute in interface UIContextnull if no value was set.public Object removeAttribute(Object key)
UIContextObject from the UIContext attribute map.
removeAttribute in interface UIContextnull if no value was set.
public void setAttribute(Object key,
Object value)
UIContextObject key in the UIContext attribute map to the given value.
setAttribute in interface UIContext
|
Forge - UI API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||