|
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.table.FocusManager
|
+--com.klg.jclass.table.FocusManagerOld
A FocusManager object for JDK's prior to 1.4
| Field Summary |
| Fields inherited from class com.klg.jclass.table.FocusManager |
componentHandler, editTraverseHandler, table |
| Method Summary | |
com.klg.jclass.table.ComponentModel |
createDefaultComponentModel()
Creates the default component handler. |
com.klg.jclass.table.EditTraverseHandler |
createDefaultEditTraverseHandler()
Creates the default edit handler for JDKs prior to 1.4 |
Component |
findFocusOwner(Component c)
Return the child Component of the specified
Component that is the focus owner, if any. |
void |
handleControlTab(boolean isShift,
boolean doCommit)
The user has hit CTRL-TAB or CTRL-SHIFT-TAB. |
boolean |
isFocusTraversable(Component c)
Can this component receive the focus |
boolean |
requestFocus()
Gets table to request focus. |
boolean |
requestFocus(Component c)
Gets the passed in component to request focus. |
void |
transferFocusCycle()
In JDK 1.4 or later, we need to make sure that when table has the focus that we are within table's current focus cycle rather than any focus cycle of a container that table happens to be in. |
| Methods inherited from class com.klg.jclass.table.FocusManager |
createDefaultComponentModel, getComponentModel, getEditTraverseHandler, getTable, setComponentModel, setEditTraverseHandler, setTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean requestFocus(Component c)
requestFocus in interface FocusModelrequestFocus in class FocusManagerc - The component who will request the focus.
public boolean requestFocus()
requestFocus in interface FocusModelrequestFocus in class FocusManagerpublic com.klg.jclass.table.EditTraverseHandler createDefaultEditTraverseHandler()
createDefaultEditTraverseHandler in class FocusManagerpublic com.klg.jclass.table.ComponentModel createDefaultComponentModel()
createDefaultComponentModel in interface FocusModelcreateDefaultComponentModel in class FocusManagerpublic boolean isFocusTraversable(Component c)
isFocusTraversable in interface FocusModelisFocusTraversable in class FocusManagerc - The component whose focusability is in question
public Component findFocusOwner(Component c)
Component of the specified
Component that is the focus owner, if any.
findFocusOwner in interface FocusModelfindFocusOwner in class FocusManagerc - 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
public void handleControlTab(boolean isShift,
boolean doCommit)
handleControlTab in interface FocusModelhandleControlTab in class FocusManagerisShift - True if the shift key has been hit.doCommit - Do a commit edit before traversing. This is needed the user
is editing a cell when he/she hits CTRL-TAB or CTRL-SHIFT-TAB.public void transferFocusCycle()
transferFocusCycle in interface FocusModeltransferFocusCycle in class FocusManager
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||