|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.higrid.FocusManager
Since in JDK1.4, a different focus mechanism is used, an object implementing
the FocusModel
interface is required to use the correct
mechanism for the current environment.
Field Summary | |
protected com.klg.jclass.higrid.GridArea |
gridArea
|
Method Summary | |
abstract Component |
findFocusOwner(Component c)
Return the child Component of the specified
Component that is the focus owner, if any. |
com.klg.jclass.higrid.GridArea |
getGridArea()
Return the gridArea for this focus manager |
abstract boolean |
isFocusTraversable(Component c)
Can this component receive the focus |
boolean |
requestFocus()
This method does nothing and is meant to be overridden |
boolean |
requestFocus(Component c)
This method does nothing and is meant to be overridden |
void |
setGridArea(com.klg.jclass.higrid.GridArea gridArea)
Set the gridArea that uses this focus manager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.higrid.GridArea gridArea
Method Detail |
public com.klg.jclass.higrid.GridArea getGridArea()
getGridArea
in interface FocusModel
public void setGridArea(com.klg.jclass.higrid.GridArea gridArea)
setGridArea
in interface FocusModel
gridArea
- The new gridArea that uses this focus managerpublic boolean requestFocus(Component c)
requestFocus
in interface FocusModel
c
- The component on which to request focus
public boolean requestFocus()
requestFocus
in interface FocusModel
public abstract boolean isFocusTraversable(Component c)
isFocusTraversable
in interface FocusModel
c
- The component whose focusability is in question
public abstract Component findFocusOwner(Component c)
Component
of the specified
Component
that is the focus owner, if any.
findFocusOwner
in interface FocusModel
c
- the root of the Component
hierarchy to search for the
focus owner
null
if there is no focus owner, or
if the focus owner is not c
, or a descendant of
c
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |