Class TabSelectionCriterion

java.lang.Object
com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
com.iamsoft.util.ui.swing.activation.TabSelectionCriterion
All Implemented Interfaces:
ActivationCriterion

public class TabSelectionCriterion extends AbstractActivationCriterion
Mandates that a particular tab of a tabbed pane be selected.
  • Constructor Details

    • TabSelectionCriterion

      public TabSelectionCriterion(JTabbedPane pTabbedPane, int pIdx)
      Parameters:
      pTabbedPane - Tabbed pane for which tab selection will be verified.
      pIdx - Index of tab that must be selected.
  • Method Details

    • test

      public boolean test()
      Description copied from interface: ActivationCriterion
      TODO: return an Object (null for passed test).
    • toString

      public String toString()
      Overrides:
      toString in class Object