47 |
* @author Andrew Selkirk |
* @author Andrew Selkirk |
48 |
* @version 1.0 |
* @version 1.0 |
49 |
*/ |
*/ |
50 |
public abstract class FocusManager extends DefaultKeyboardFocusManager |
public abstract class FocusManager |
51 |
|
extends DefaultKeyboardFocusManager |
52 |
{ |
{ |
53 |
|
|
54 |
//------------------------------------------------------------- |
/** |
55 |
// Classes ---------------------------------------------------- |
* DisabledFocusManager |
56 |
//------------------------------------------------------------- |
*/ |
57 |
|
static class DisabledFocusManager |
58 |
/** |
extends FocusManager |
59 |
* DisabledFocusManager |
{ |
60 |
*/ |
|
61 |
static class DisabledFocusManager extends FocusManager { |
/** |
62 |
|
* Constructor DisabledFocusManager |
63 |
//------------------------------------------------------------- |
*/ |
64 |
// Initialization --------------------------------------------- |
DisabledFocusManager() |
65 |
//------------------------------------------------------------- |
{ |
66 |
|
// TODO |
67 |
/** |
} |
68 |
* Constructor DisabledFocusManager |
|
69 |
*/ |
/** |
70 |
DisabledFocusManager() { |
* processKeyEvent |
71 |
// TODO |
* @param component TODO |
72 |
} // DisabledFocusManager() |
* @param event TODO |
73 |
|
*/ |
74 |
|
public void processKeyEvent(Component component, KeyEvent event) |
75 |
//------------------------------------------------------------- |
{ |
76 |
// Methods ---------------------------------------------------- |
// TODO |
77 |
//------------------------------------------------------------- |
} |
78 |
|
|
79 |
/** |
/** |
80 |
* processKeyEvent |
* focusNextComponent |
81 |
* @param component TODO |
* @param component TODO |
82 |
* @param event TODO |
*/ |
83 |
*/ |
public void focusNextComponent(Component component) |
84 |
public void processKeyEvent(Component component, KeyEvent event) { |
{ |
85 |
// TODO |
// TODO |
86 |
} // processKeyEvent() |
} |
87 |
|
|
88 |
/** |
/** |
89 |
* focusNextComponent |
* focusPreviousComponent |
90 |
* @param component TODO |
* @param value0 TODO |
91 |
*/ |
*/ |
92 |
public void focusNextComponent(Component component) { |
public void focusPreviousComponent(Component value0) |
93 |
// TODO |
{ |
94 |
} // focusNextComponent() |
// TODO |
95 |
|
} |
96 |
/** |
} |
97 |
* focusPreviousComponent |
|
98 |
* @param value0 TODO |
|
99 |
*/ |
/** |
100 |
public void focusPreviousComponent(Component value0) { |
* FOCUS_MANAGER_CLASS_PROPERTY |
101 |
// TODO |
*/ |
102 |
} // focusPreviousComponent() |
public static final String FOCUS_MANAGER_CLASS_PROPERTY = |
103 |
|
"FocusManagerClassName"; |
104 |
|
|
105 |
} // DisabledFocusManager |
/** |
106 |
|
* Constructor FocusManager |
107 |
|
*/ |
108 |
//------------------------------------------------------------- |
public FocusManager() |
109 |
// Variables -------------------------------------------------- |
{ |
110 |
//------------------------------------------------------------- |
// TODO |
111 |
|
} |
112 |
/** |
|
113 |
* FOCUS_MANAGER_CLASS_PROPERTY |
/** |
114 |
*/ |
* getCurrentManager |
115 |
public static final String FOCUS_MANAGER_CLASS_PROPERTY = "FocusManagerClassName"; |
* @returns FocusManager |
116 |
|
*/ |
117 |
|
public static FocusManager getCurrentManager() |
118 |
//------------------------------------------------------------- |
{ |
119 |
// Initialization --------------------------------------------- |
return null; // TODO |
120 |
//------------------------------------------------------------- |
} |
121 |
|
|
122 |
/** |
/** |
123 |
* Constructor FocusManager |
* setCurrentManager |
124 |
*/ |
* @param manager TODO |
125 |
public FocusManager() { |
*/ |
126 |
// TODO |
public static void setCurrentManager(FocusManager manager) |
127 |
} // FocusManager() |
{ |
128 |
|
// TODO |
129 |
|
} |
130 |
//------------------------------------------------------------- |
|
131 |
// Methods ---------------------------------------------------- |
/** |
132 |
//------------------------------------------------------------- |
* disableSwingFocusManager |
133 |
|
* @deprecated 1.4 |
134 |
/** |
*/ |
135 |
* getCurrentManager |
public static void disableSwingFocusManager() |
136 |
* @returns FocusManager |
{ |
137 |
*/ |
// TODO |
138 |
public static FocusManager getCurrentManager() { |
} |
139 |
return null; // TODO |
|
140 |
} // getCurrentManager() |
/** |
141 |
|
* isFocusManagerEnabled |
142 |
/** |
* @return boolean |
143 |
* setCurrentManager |
* @deprecated 1.4 |
144 |
* @param manager TODO |
*/ |
145 |
*/ |
public static boolean isFocusManagerEnabled() |
146 |
public static void setCurrentManager(FocusManager manager) { |
{ |
147 |
// TODO |
return false; // TODO |
148 |
} // setCurrentManager() |
} |
149 |
|
|
150 |
/** |
/** |
151 |
* disableSwingFocusManager |
* processKeyEvent |
152 |
* @deprecated 1.4 |
* @param component TODO |
153 |
*/ |
* @param event TODO |
154 |
public static void disableSwingFocusManager() { |
*/ |
155 |
// TODO |
public abstract void processKeyEvent(Component component, KeyEvent event); |
156 |
} // disableSwingFocusManager() |
|
157 |
|
/** |
158 |
/** |
* focusNextComponent |
159 |
* isFocusManagerEnabled |
* @param component TODO |
160 |
* @return boolean |
*/ |
161 |
* @deprecated 1.4 |
public abstract void focusNextComponent(Component component); |
162 |
*/ |
|
163 |
public static boolean isFocusManagerEnabled() { |
/** |
164 |
return false; // TODO |
* focusPreviousComponent |
165 |
} // isFocusManagerEnabled() |
* @param component TODO |
166 |
|
*/ |
167 |
/** |
public abstract void focusPreviousComponent(Component component); |
|
* processKeyEvent |
|
|
* @param component TODO |
|
|
* @param event TODO |
|
|
*/ |
|
|
public abstract void processKeyEvent(Component component, KeyEvent event); |
|
|
|
|
|
/** |
|
|
* focusNextComponent |
|
|
* @param component TODO |
|
|
*/ |
|
|
public abstract void focusNextComponent(Component component); |
|
|
|
|
|
/** |
|
|
* focusPreviousComponent |
|
|
* @param component TODO |
|
|
*/ |
|
|
public abstract void focusPreviousComponent(Component component); |
|
168 |
|
|
169 |
|
} |
|
} // FocusManager |
|