/**
   * DOCUMENT ME!
   *
   * @param state DOCUMENT ME!
   */
  public void enabled(SelectionState state) {
    JToggleButton b = (JToggleButton) getValue(Icon25x25ToggleButton.BUTTON);

    setEnabled((state.getCount() > 0) || b.isSelected());
  }
 /**
  * DOCUMENT ME!
  *
  * @param state DOCUMENT ME!
  */
 public void enabled(SelectionState state) {
   setEnabled((state.getCount() > 1) && state.isMoveable());
 }
Beispiel #3
0
 /**
  * DOCUMENT ME!
  *
  * @param state DOCUMENT ME!
  */
 public void enabled(SelectionState state) {
   setEnabled((state.getCount() > 0) && state.isCopiable());
 }