java-gnome version 4.0.19

org.gnome.unique
Class Command

Object
  extended by org.freedesktop.bindings.Constant
      extended by org.gnome.unique.Command

public class Command
extends org.freedesktop.bindings.Constant

Predefined commands that can be sent from one Application to another.

If one of these responses constants fits your needs, it is recommended that you make use of it.

If your needs require it, however, you can define your own responses codes by extending this class. For example:

 public class NinjaCommand extends Command
 {
     protected NinjaCommand(String nickname) {
         super(nickname);
     }
 
     public static final NinjaCommand HACK = new NinjaCommand("HACK");
 
     public static final NinjaCommand SLASH = new NinjaCommand("SLASH");
 
     public static final NinjaCommand BURN = new NinjaCommand("BURN");
 }
 

Since:
4.0.12
Author:
Andrew Cowie

Field Summary
static Command ACTIVATE
          Generally interpreted to mean that the receiving instance should present() itself.
static Command CLOSE
           
static Command NEW
           
static Command OPEN
           
 
Method Summary
 
Methods inherited from class org.freedesktop.bindings.Constant
toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVATE

public static final Command ACTIVATE
Generally interpreted to mean that the receiving instance should present() itself.

Since:
4.0.12

CLOSE

public static final Command CLOSE

NEW

public static final Command NEW

OPEN

public static final Command OPEN


java-gnome