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 Details

    • condition

      boolean condition(Component c)
      If true, it will call action(java.awt.Component) on this component.
      Parameters:
      c - the component
      Returns:
      true or false.
    • action

      void action(Component c)
      The action you want to perform on this component. This method will only be called if condition(java.awt.Component) returns true.
      Parameters:
      c - the component
    • postAction

      void postAction(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.