|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.canica.SearchAndInsertActionFactory
public class SearchAndInsertActionFactory
A factory class to create various search and insert actions such as find, go to,
replace, etcetera.
These actions may be used for creating menu items or tool bar
items (see MenuFactory).
| Field Summary | |
|---|---|
protected Mainable |
canica
The main program. |
| Constructor Summary | |
|---|---|
SearchAndInsertActionFactory(Mainable canica)
Constructor |
|
| Method Summary | |
|---|---|
Action |
getClauses()
Returns the action for clauses ... menu item. |
Action |
getFind()
Returns the action for Find ... menu item. |
Action |
getFresh()
Returns the action for \fresh ... submenu item. |
Action |
getGoto()
Returns the action for go to menu item. |
Action |
getNothing()
Returns the action for \nothing ... submenu item. |
Action |
getOld()
Returns the action for \old ... submenu item. |
Action |
getReplace()
Returns the action for Replace ... menu item. |
Action |
getResult()
Returns the action for \result ... submenu item. |
Action |
getSpace()
Returns the action for \space ... submenu item. |
void |
reset()
It resets the action values to false. |
void |
setEnabledToActions(boolean[] menuItems)
It sets the Enabled property values to these actions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Mainable canica
| Constructor Detail |
|---|
public SearchAndInsertActionFactory(Mainable canica)
| Method Detail |
|---|
public Action getGoto()
assignable actGoto;
public Action getFind()
assignable actFind;
public Action getReplace()
assignable actReplace;
public Action getResult()
assignable actPrimExpr_result;
public Action getOld()
assignable actPrimExpr_old;
public Action getFresh()
assignable actPrimExpr_fresh;
public Action getSpace()
assignable actPrimExpr_space;
public Action getNothing()
assignable actPrimExpr_nothing;
public Action getClauses()
assignable actClauses;
public void setEnabledToActions(boolean[] menuItems)
menuItems - Enabled property valuespublic void reset()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||