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
Modifier and TypeMethodDescriptionvoidThe action you want to perform on this component.booleanIf true, it will callaction(java.awt.Component)on this component.voidThe action you want to perform to any components.
-
Method Details
-
condition
If true, it will callaction(java.awt.Component)on this component.- Parameters:
c- the component- Returns:
- true or false.
-
action
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
The action you want to perform to any components. If action(c) is called, this action is after it.- Parameters:
c- the component.
-