|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.focus.AbstractFocusManager
public abstract class AbstractFocusManager
Abstract focus manager that uses the set of views to move focus between from the concrete subclass.
getChildViews()| Field Summary | |
|---|---|
protected View |
container
|
protected View |
focus
|
| Constructor Summary | |
|---|---|
AbstractFocusManager(View container)
|
|
AbstractFocusManager(View container,
View initalFocus)
|
|
| Method Summary | |
|---|---|
void |
focusFirstChildView()
The first child view within the container to move the focus to; move down to the first view within the current view. |
void |
focusInitialChildView()
|
void |
focusLastChildView()
|
void |
focusNextView()
The next view within the container to move the focus to; move to next field. |
void |
focusParentView()
The parent view within the container to move the focus to; move up to containing view in the hierachy. |
void |
focusPreviousView()
The previous view within the container to move the focus to; move to previous field. |
protected abstract View[] |
getChildViews()
|
View |
getFocus()
|
void |
setFocus(View view)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected View container
protected View focus
| Constructor Detail |
|---|
public AbstractFocusManager(View container)
public AbstractFocusManager(View container,
View initalFocus)
| Method Detail |
|---|
public void focusFirstChildView()
FocusManager
focusFirstChildView in interface FocusManagerpublic void focusInitialChildView()
focusInitialChildView in interface FocusManagerpublic void focusLastChildView()
focusLastChildView in interface FocusManagerpublic void focusNextView()
FocusManager
focusNextView in interface FocusManagerpublic void focusParentView()
FocusManager
focusParentView in interface FocusManagerpublic void focusPreviousView()
FocusManager
focusPreviousView in interface FocusManagerprotected abstract View[] getChildViews()
public View getFocus()
getFocus in interface FocusManagerpublic void setFocus(View view)
setFocus in interface FocusManagerpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||