Logo Search packages:      
Sourcecode: wims version File versions  Download package

void rene::gui::IconBar::setState ( String  name,
boolean  flag 
) [inline]

Set the state of a single toggle icon.

Definition at line 1311 of file IconBar.java.

Referenced by rene::zirkel::dialogs::EditGridDialog::EditGridDialog().

      {     BasicIcon icon=find(name);
            if (icon!=null && (icon instanceof ToggleIcon))
                  ((ToggleIcon)icon).setState(flag);
            if (icon!=null && (icon instanceof MultipleToggleIcon))
                  ((MultipleToggleIcon)icon).setState(flag);
      }


Generated by  Doxygen 1.6.0   Back to index