org.ceryle.ui.help
Class LogAction

java.lang.Object
  extended by org.ceryle.ui.help.HelpAction
      extended by org.ceryle.ui.help.LogAction

public class LogAction
extends HelpAction

Extends HelpAction to send a message to the application log.

Since:
JDK1.4
Version:
$Id: LogAction.java,v 3.9 2007-06-20 01:28:23 altheim Exp $
Author:
Murray Altheim

Field Summary
protected static String key
          The keyword associated with this HelpAction.
protected  String message
           
protected  String title
           
 
Fields inherited from class org.ceryle.ui.help.HelpAction
id, keyword, literal, m_desktop, m_dlog, m_list, mh, srvs, vmgr
 
Constructor Summary
LogAction(HelpDialog dialog, String id, String message)
          Constructor for a help directive with a required id and text body.
LogAction(HelpDialog dialog, String id, String title, String message)
          Constructor for a help directive with a required id, title and text message.
 
Method Summary
 void start()
          The method called to initiate the action.
 String toString()
          Return a String representation of this LogAction.
 
Methods inherited from class org.ceryle.ui.help.HelpAction
addAction, getActions, getID, parseToAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected static final String key
The keyword associated with this HelpAction.

See Also:
Constant Field Values

title

protected String title

message

protected String message
Constructor Detail

LogAction

public LogAction(HelpDialog dialog,
                 String id,
                 String message)
Constructor for a help directive with a required id and text body. No title is provided.


LogAction

public LogAction(HelpDialog dialog,
                 String id,
                 String title,
                 String message)
Constructor for a help directive with a required id, title and text message.

Method Detail

start

public void start()
The method called to initiate the action.

Overrides:
start in class HelpAction

toString

public String toString()
Return a String representation of this LogAction.

Overrides:
toString in class HelpAction


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.