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

String rene::gui::KeyboardItem::keyDescription (  )  [inline]

Return a key description for this item (to save as parameter). This should be the same as the key parameter in the constructor.

Definition at line 128 of file KeyboardItem.java.

Referenced by rene::gui::Keyboard::edit(), and rene::gui::KeyboardPanel::notifyChange().

      {     String s=CharKey.toLowerCase();
            if (s.equals("none") || s.equals("default")) return s;
            if (Alt) s="alt."+s;
            if (Control) s="control."+s;
            if (Shift) s="shift."+s;
            if (CommandType>0) s="esc"+CommandType+"."+s;
            return s;
      }


Generated by  Doxygen 1.6.0   Back to index