Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.core.command
Interface Command  view Command download Command.java

All Superinterfaces:
org.javahispano.canyamo.core.action.ActionListener
All Known Implementing Classes:
AbstractCommand

public interface Command
extends org.javahispano.canyamo.core.action.ActionListener

Interface to represent "commands" that the framework can run, normally as ActionListener for actions


Method Summary
 void addProperty(java.lang.String name, java.lang.String value)
          Adds a feature to the Property attribute of the Displayer object
 org.javahispano.canyamo.core.application.Application getApplication()
          Gets the Application to which this displayer belong to
 java.lang.String getDescription()
          Returns a description of this command
 java.lang.String getName()
          Returns the name of this command
 void init()
          Initialites this command
 void setApplication(org.javahispano.canyamo.core.application.Application app)
          Sets the Application to which this displayer belong to
 void setName(java.lang.String name)
          Sets the name of this command
 
Methods inherited from interface org.javahispano.canyamo.core.action.ActionListener
run
 

Method Detail

init

public void init()
Initialites this command


getName

public java.lang.String getName()
Returns the name of this command

Specified by:
getName in interface org.javahispano.canyamo.core.action.ActionListener

setName

public void setName(java.lang.String name)
Sets the name of this command


getDescription

public java.lang.String getDescription()
Returns a description of this command


addProperty

public void addProperty(java.lang.String name,
                        java.lang.String value)
Adds a feature to the Property attribute of the Displayer object

Since:

setApplication

public void setApplication(org.javahispano.canyamo.core.application.Application app)
Sets the Application to which this displayer belong to


getApplication

public org.javahispano.canyamo.core.application.Application getApplication()
Gets the Application to which this displayer belong to