org.sf.cafebabe.task.classfile
Class ClassFrameActions

java.lang.Object
  extended by org.sf.cafebabe.util.Actions
      extended by org.sf.cafebabe.task.classfile.ClassFrameActions
All Implemented Interfaces:
Constants

public class ClassFrameActions
extends Actions
implements Constants

This class represents the class frame actions

Version:
1.0 02/05/2002
Author:
Alexander Shvets

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sf.cafebabe.util.Actions
Actions.CustomAction
 
Field Summary
protected  javax.swing.JToolBar toolBar
           
 
Fields inherited from interface org.sf.cafebabe.Constants
ABOUT_ITEM_DESCR_TEXT, ABOUT_ITEM_SHORTCUT, ABOUT_ITEM_TEXT, ACCESS_FLAGS_TEXT, AUTHOR, BAD_ENTRY_TEXT, CAFEBABE_NAME, CHANGE_PLAF_ITEM_SHORTCUT, CHANGE_PLAF_ITEM_TEXT, CHANGE_THEME_ITEM_SHORTCUT, CHANGE_THEME_ITEM_TEXT, CLASS_ATTRIBUTES_TEXT, CLASS_HOUND_ITEM_DESCR_TEXT, CLASS_HOUND_ITEM_SHORTCUT, CLASS_HOUND_ITEM_TEXT, CLASS_NAME_TEXT, CLOSE_ITEM_DESCR_TEXT, CLOSE_ITEM_SHORTCUT, CLOSE_ITEM_TEXT, CONFIRMATION_STRING, CONSTANT_POOL_TEXT, EMAIL, EMAIL_ITEM_DESCR_TEXT, EMAIL_ITEM_SHORTCUT, EMAIL_ITEM_TEXT, EXIT_ITEM_DESCR_TEXT, EXIT_ITEM_SHORTCUT, EXIT_ITEM_TEXT, FIELDS_TEXT, FILE_MENU_SHORTCUT, FILE_MENU_TEXT, GOODBYE_MESSAGE, HELP_ARCHIVE_NAME, HELP_MENU_SHORTCUT, HELP_MENU_TEXT, ICON_ABOUT, ICON_ADD, ICON_CLASS, ICON_CLASS_FILE, ICON_CLASS_HOUND, ICON_CLOSED_FOLDER, ICON_COLLAPSE, ICON_DOUBLE, ICON_EDIT, ICON_EXPAND, ICON_EXPAND_ALL, ICON_FACE1, ICON_FACE2, ICON_FIELD, ICON_FLOAT, ICON_HELP, ICON_HIERARCHY_CLASS, ICON_HIERARCHY_INTERFACE, ICON_HIERARCHY_UNKNOWN, ICON_HOUND, ICON_IMETHOD, ICON_INT, ICON_INTEGRITY, ICON_JUMP, ICON_LONG, ICON_MAIL, ICON_MAIN_FRAME, ICON_METHOD, ICON_NAME_AND_TYPE, ICON_OPEN_FILE, ICON_OPEN_FOLDER, ICON_REMOVE, ICON_SAVE_FILE, ICON_SEARCH, ICON_SER_FILE, ICON_STRING, ICON_TUTORIAL_OFF, ICON_TUTORIAL_ON, ICON_UNICODE, ICON_UTF8, ICON_ZIP_FILE, ICONS_DIR, INTERFACES_TEXT, JAR_NAME, MAGIC_NUMBER_TEXT, MAILCAP_FILE_NAME, MAIN_FRAME_TITLE, MAJOR_VERSION_TEXT, METHODS_TEXT, MIMETYPES_FILE_NAME, MINOR_VERSION_TEXT, NEW_ITEM_DESCR_TEXT, NEW_ITEM_SHORTCUT, NEW_ITEM_TEXT, NONE_TEXT, OPEN_ITEM_DESCR_TEXT, OPEN_ITEM_SHORTCUT, OPEN_ITEM_TEXT, PROPERTIES_NAME, REFERENCE_TABLE_TEXT, SAVE_AS_ITEM_DESCR_TEXT, SAVE_AS_ITEM_SHORTCUT, SAVE_AS_ITEM_TEXT, SAVE_FILE_QUESTION, SEARCH_CLASS_ATTRIBUTE, SEARCH_CONST_POOL, SEARCH_FIELD, SEARCH_METHOD, SEARCH_PLAIN, SERIAL_VERSION_UID_TEXT, STREAM_MAGIC_TEXT, STREAM_VERSION_TEXT, SUPER_CLASS_TEXT, TASK_MENU_SHORTCUT, TASK_MENU_TEXT, THIS_CLASS_TEXT, VERSION, WINDOW_MENU_SHORTCUT, WINDOW_MENU_TEXT
 
Constructor Summary
ClassFrameActions(ClassFrame classFrame)
          Creates actions for ClassFrame
 
Method Summary
 javax.swing.Action createCollapceAction(java.lang.String text, javax.swing.ImageIcon icon)
          Creates the action for collapcing class file tree
 javax.swing.Action createExpandAllLevelsAction(java.lang.String text, javax.swing.ImageIcon icon)
          Creates the action for the expanding all levels
 javax.swing.Action createExpandFirstLevelAction(java.lang.String text, javax.swing.ImageIcon icon)
          Creates the action for the expanding first level only
 javax.swing.Action createIntegrityAction(java.lang.String text, javax.swing.ImageIcon icon)
          Creates the action for the integrity command
 javax.swing.Action createSearchAction(java.lang.String text, javax.swing.ImageIcon icon)
          Creates the action for the search command
 javax.swing.Action createTutorialAction(java.lang.String text, javax.swing.ImageIcon icon, javax.swing.AbstractButton button)
          Creates the action for the turorial command
 javax.swing.JToolBar getToolBar()
          Gets the toot bar
protected  void init()
          Initializes actions
 
Methods inherited from class org.sf.cafebabe.util.Actions
addActionToMenu, addActionToToolBar, addMenu, addMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolBar

protected javax.swing.JToolBar toolBar
Constructor Detail

ClassFrameActions

public ClassFrameActions(ClassFrame classFrame)
Creates actions for ClassFrame

Parameters:
classFrame - the class frame
Method Detail

getToolBar

public javax.swing.JToolBar getToolBar()
Gets the toot bar

Returns:
the toot bar

init

protected void init()
Initializes actions


createCollapceAction

public javax.swing.Action createCollapceAction(java.lang.String text,
                                               javax.swing.ImageIcon icon)
Creates the action for collapcing class file tree


createExpandFirstLevelAction

public javax.swing.Action createExpandFirstLevelAction(java.lang.String text,
                                                       javax.swing.ImageIcon icon)
Creates the action for the expanding first level only


createExpandAllLevelsAction

public javax.swing.Action createExpandAllLevelsAction(java.lang.String text,
                                                      javax.swing.ImageIcon icon)
Creates the action for the expanding all levels


createIntegrityAction

public javax.swing.Action createIntegrityAction(java.lang.String text,
                                                javax.swing.ImageIcon icon)
Creates the action for the integrity command


createSearchAction

public javax.swing.Action createSearchAction(java.lang.String text,
                                             javax.swing.ImageIcon icon)
Creates the action for the search command


createTutorialAction

public javax.swing.Action createTutorialAction(java.lang.String text,
                                               javax.swing.ImageIcon icon,
                                               javax.swing.AbstractButton button)
Creates the action for the turorial command



Copyright 2006 Dream Programs Inc.. All Rights Reserved.