net.sourceforge.mflow.api.base
Class AbstractMsgFlowComponent

java.lang.Object
  extended bynet.sourceforge.mflow.api.base.AbstractMsgFlowComponent
All Implemented Interfaces:
Configurable, Iconable, MsgFlowComponent
Direct Known Subclasses:
AbstractMsgFolder, AbstractMsgReceiver, AbstractMsgSource

public abstract class AbstractMsgFlowComponent
extends java.lang.Object
implements MsgFlowComponent

Abstract implementation of MsgFlowComponent

Version:
$Revision: 1.3 $
Author:
David Carr

Constructor Summary
AbstractMsgFlowComponent()
           
 
Method Summary
 void configure(java.awt.Frame aOwner)
          Does nothing.
 javax.swing.Icon getIcon()
          Gets the icon for this component.
 java.lang.String getName()
          Gets the name of this instance, set to the name of the class by default (excluding the package name)
protected  void setIcon(javax.swing.Icon aIcon)
          Sets the icon for this component.
 void setName(java.lang.String aName)
          Sets the name of this instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMsgFlowComponent

public AbstractMsgFlowComponent()
Method Detail

configure

public void configure(java.awt.Frame aOwner)
Does nothing.

Specified by:
configure in interface Configurable
Parameters:
aOwner - the owner of the dialog to show

getIcon

public final javax.swing.Icon getIcon()
Gets the icon for this component.

Specified by:
getIcon in interface Iconable
Returns:
the icon for this component, possibly null.

setIcon

protected final void setIcon(javax.swing.Icon aIcon)
Sets the icon for this component.

Parameters:
aIcon - the new icon

getName

public final java.lang.String getName()
Gets the name of this instance, set to the name of the class by default (excluding the package name)

Specified by:
getName in interface MsgFlowComponent
Returns:
the name of this instance

setName

public final void setName(java.lang.String aName)
Sets the name of this instance

Specified by:
setName in interface MsgFlowComponent
Parameters:
aName - the new name for the instance


Copyright © 2002-2004 MFlow Group. All Rights Reserved.