Package com.jidesoft.swing
Interface JideSwingUtilities.Handler
-
- All Known Subinterfaces:
JideSwingUtilities.ConditionHandler
- Enclosing class:
- JideSwingUtilities
public static interface JideSwingUtilities.Handler
A simple handler used by setRecursively.if ( condition() ) { action(); } postAction();
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
action(java.awt.Component c)
The action you want to perform on this component.boolean
condition(java.awt.Component c)
If true, it will callaction(java.awt.Component)
on this component.void
postAction(java.awt.Component c)
The action you want to perform to any components.
-
-
-
Method Detail
-
condition
boolean condition(java.awt.Component c)
If true, it will callaction(java.awt.Component)
on this component.- Parameters:
c
- the component- Returns:
- true or false.
-
action
void action(java.awt.Component c)
The action you want to perform on this component. This method will only be called ifcondition(java.awt.Component)
returns true.- Parameters:
c
- the component
-
postAction
void postAction(java.awt.Component c)
The action you want to perform to any components. If action(c) is called, this action is after it.- Parameters:
c
- the component.
-
-