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

int rene::gui::IconBar::getMultipleState ( String  name  )  [inline]

Get the state of the specified multiple icon

Definition at line 1344 of file IconBar.java.

References rene::gui::IconBarElement::getName().

      {     int k;
            for (k=0; k<Left.size(); k++)
            {     IconBarElement i=(IconBarElement)Left.elementAt(k);
                  if (i.getName().equals(name) && i instanceof MultipleIcon)
                  {     return ((MultipleIcon)i).getSelected();
                  }
            }
            for (k=0; k<Right.size(); k++)
            {     IconBarElement i=(IconBarElement)Right.elementAt(k);
                  if (i.getName().equals(name) && i instanceof MultipleIcon)
                  {     return ((MultipleIcon)i).getSelected();
                  }
            }
            return -1;
      }


Generated by  Doxygen 1.6.0   Back to index