home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-08-01 | 1.3 KB | 65 lines |
- package com.symantec.itools.swing.actions;
-
- import java.io.Serializable;
- import com.sun.java.swing.*;
-
- public abstract class Action
- extends AbstractAction
- implements java.io.Serializable
- {
- //
- // Properties
- //
-
- // Name
-
- public String getActionName()
- {
- return (String)getValue(NAME);
- }
-
- public void setActionName(String newName)
- {
- putValue(NAME,newName);
- }
-
- // Small Icon
-
- public Icon getSmallIcon()
- {
- return (Icon)getValue(SMALL_ICON);
- }
-
- public void setSmallIcon(Icon newSmallIcon)
- {
- putValue(SMALL_ICON,newSmallIcon);
- }
-
- //???RKM??? These do not seem to be used for anything
- /*
- // Short Description
-
- public String getShortDescription()
- {
- return (String)getValue(SHORT_DESCRIPTION);
- }
-
- public void setShortDescription(String newShortDescription)
- {
- putValue(SHORT_DESCRIPTION,newShortDescription);
- }
-
- // Long Description
-
- public String getLongDescription()
- {
- return (String)getValue(LONG_DESCRIPTION);
- }
-
- public void setLongDescription(String newLongDescription)
- {
- putValue(LONG_DESCRIPTION,newLongDescription);
- }
- */
- }
-