Codota Logo
SoftButton.getType
Code IndexAdd Codota to your IDE (free)

How to use
getType
method
in
org.microemu.device.impl.SoftButton

Best Java code snippets using org.microemu.device.impl.SoftButton.getType (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.microemu/microemu-javase-swt

public void setScrollDown(boolean state) 
{
  Enumeration en = DeviceFactory.getDevice().getSoftButtons().elements();
  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_ICON
        && button.getName().equals("down")) {
      button.setVisible(state);
    }
  }
}
origin: org.microemu/microemu-javase-swing

public void setScrollDown(boolean state) {
  Enumeration en = DeviceFactory.getDevice().getSoftButtons().elements();
  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_ICON && button.getName().equals("down")) {
      button.setVisible(state);
    }
  }
}
origin: org.microemu/microemu-javase-swing

public void setScrollUp(boolean state) {
  Enumeration en = DeviceFactory.getDevice().getSoftButtons().elements();
  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_ICON && button.getName().equals("up")) {
      button.setVisible(state);
    }
  }
}
origin: org.microemu/microemu-javase-swt

public void setScrollUp(boolean state) 
{
  Enumeration en = DeviceFactory.getDevice().getSoftButtons().elements();
  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_ICON
        && button.getName().equals("up")) {
      button.setVisible(state);
    }
  }
}
origin: org.microemu/microemu-javase

  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_COMMAND
        && button.getCommand() == null 
        && button.preferredCommandType((Command) commandsTable.elementAt(i))) {
  while (en.hasMoreElements()) {
    SoftButton button = (SoftButton) en.nextElement();
    if (button.getType() == SoftButton.TYPE_COMMAND
        && button.getCommand() == null) {
      button.setCommand((Command) commandsTable.elementAt(i));
while (hiddenEn.hasMoreElements()) {
  SoftButton hiddenButton = (SoftButton) hiddenEn.nextElement();
  if (hiddenButton.getType() == SoftButton.TYPE_COMMAND
      && hiddenButton.getPaintable() == null
      && hiddenButton.getCommand() != null) {                
    while (en.hasMoreElements()) {
      SoftButton button = (SoftButton) en.nextElement();
      if (button.getType() == SoftButton.TYPE_COMMAND
          && button.getPaintable() != null
          && button.getCommand() == null) {
origin: org.microemu/microemu-javase

while (en.hasMoreElements()) {
  SoftButton button = (SoftButton) en.nextElement();
  if (button.getType() == SoftButton.TYPE_COMMAND) {
    button.setCommand(null);
    numOfButtons++;
org.microemu.device.implSoftButtongetType

Popular methods of SoftButton

  • getCommand
  • getPaintable
  • getName
  • isPressed
  • isVisible
  • setPressed
  • setVisible
  • preferredCommandType
  • setCommand

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JPanel (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now