Interface ExpressionActionCreator
- All Known Implementing Classes:
NoExpressionActionCreator,TagBrowserActionCreator
public interface ExpressionActionCreator
Provides actions for expression-related UI components.
Implementations create actions that can be installed in expression editors or added as buttons to text fields etc.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAction(ExpressionEditor editor) Creates an action for the ExpressionEditor's toolbar.createAction(JComponent owner, TextlikeComponent component) Creates an action that will appear as a trailing IconButton in ExpressionTextField components.
-
Method Details
-
createAction
Creates an action that will appear as a trailing IconButton in ExpressionTextField components.- Parameters:
owner- the component used to position popups triggered by the trailing IconButtoncomponent- the ExpressionTextField component where the trailing IconButton will appear- Returns:
- an action that will appear as a trailing IconButton in the ExpressionTextField
-
createAction
Creates an action for the ExpressionEditor's toolbar.- Parameters:
editor- the ExpressionEditor that will use this action.- Returns:
- an action to be added to the ExpressionEditor's toolbar
-