41 |
import javax.swing.AbstractAction; |
import javax.swing.AbstractAction; |
42 |
import javax.swing.Action; |
import javax.swing.Action; |
43 |
|
|
44 |
|
|
45 |
/** |
/** |
46 |
* TextAction |
* TextAction |
47 |
* @author Andrew Selkirk |
* @author Andrew Selkirk |
|
* @version 1.0 |
|
48 |
*/ |
*/ |
49 |
public abstract class TextAction extends AbstractAction { |
public abstract class TextAction extends AbstractAction |
50 |
|
{ |
|
//------------------------------------------------------------- |
|
|
// Initialization --------------------------------------------- |
|
|
//------------------------------------------------------------- |
|
|
|
|
51 |
/** |
/** |
52 |
* Constructor TextAction |
* Constructor TextAction |
53 |
* @param name TODO |
* @param name TODO |
54 |
*/ |
*/ |
55 |
public TextAction(String name) { |
public TextAction(String name) |
56 |
|
{ |
57 |
// TODO |
// TODO |
58 |
} // TextAction() |
} |
|
|
|
|
|
|
|
//------------------------------------------------------------- |
|
|
// Methods ---------------------------------------------------- |
|
|
//------------------------------------------------------------- |
|
59 |
|
|
60 |
/** |
/** |
61 |
* getTextComponent |
* getTextComponent |
62 |
* @param event TODO |
* @param event TODO |
63 |
* @returns JTextComponent |
* @return JTextComponent |
64 |
*/ |
*/ |
65 |
protected final JTextComponent getTextComponent(ActionEvent event) { |
protected final JTextComponent getTextComponent(ActionEvent event) |
66 |
|
{ |
67 |
return null; // TODO |
return null; // TODO |
68 |
} // getTextComponent() |
} |
69 |
|
|
70 |
/** |
/** |
71 |
* augmentList |
* augmentList |
72 |
* @param list1 TODO |
* @param list1 TODO |
73 |
* @param list2 TODO |
* @param list2 TODO |
74 |
* @returns Action[] |
* @return Action[] |
75 |
*/ |
*/ |
76 |
public static final Action[] augmentList(Action[] list1, Action[] list2) { |
public static final Action[] augmentList(Action[] list1, Action[] list2) |
77 |
|
{ |
78 |
return null; // TODO |
return null; // TODO |
79 |
} // augmentList() |
} |
80 |
|
|
81 |
/** |
/** |
82 |
* getFocusedComponent |
* getFocusedComponent |
83 |
* @returns JTextComponent |
* @return JTextComponent |
84 |
*/ |
*/ |
85 |
protected final JTextComponent getFocusedComponent() { |
protected final JTextComponent getFocusedComponent() |
86 |
|
{ |
87 |
return null; // TODO |
return null; // TODO |
88 |
} // getFocusedComponent() |
} |
89 |
|
} |
|
|
|
|
} // TextAction |
|