org.relayirc.swingui
Interface IChatAction

All Known Implementing Classes:
ChatAction, CustomAction

public interface IChatAction

Actions returned by ChatApp.getAction() all implement this.

Version:
$Revision: 1.4.2.4 $

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Original Code: Relay-JFC Chat Client
Initial Developer: David M. Johnson
Contributor(s): No contributors to this file
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.
Author:
David M. Johnson

Method Summary
 javax.swing.AbstractAction getActionObject()
          Get the actual action object.
 java.lang.Object getContext()
          Get context for action.
 void setContext(java.lang.Object context)
          Set context for action.
 void update()
          Set enabled or disabled, depending on chat app state.
 

Method Detail

update

public void update()
Set enabled or disabled, depending on chat app state.

getActionObject

public javax.swing.AbstractAction getActionObject()
Get the actual action object.

setContext

public void setContext(java.lang.Object context)
Set context for action.

getContext

public java.lang.Object getContext()
Get context for action.