| Home >> All >> com >> flexstor >> common >> [ awt Javadoc ] |
com.flexstor.common.awt: Javadoc index of package com.flexstor.common.awt.
Package Samples:
com.flexstor.common.awt.tree
com.flexstor.common.awt.toolbar
com.flexstor.common.awt.taskframe
com.flexstor.common.awt.statusdisplay
com.flexstor.common.awt.menu
com.flexstor.common.awt.image
com.flexstor.common.awt.field
com.flexstor.common.awt.event
com.flexstor.common.awt.dialogs
com.flexstor.common.awt.appserver
Classes:
OptionDlg: This class adds default buttons to a modal dialog as well as default action and cancel behavior for enter key and escape. It builds a button panel on the bottom depending on the option passed into the constructor. These are the options: YES_NO YES_NO_CANCEL OK_CANCEL OK APPLY_DISCARD_CANCEL OK_CANCEL_HELP Predefined return values are: ACTION_OK ACTION_CANCEL ACTION_YES ACTION_NO ACTION_APPLY ACTION_DISCARD, _HELP Custom buttons can be added by adding ActionButtons to the vector vButtons. Action ids should start at ACTION_CUSTOM + 1. These buttons will automatically be created and added to the button ...
Help: The class Help implements HelpHandlerI and provides one method named showHelp . showHelp creates a new browser window to display an HTML help file. Window identifiers are defined in FlexFrame. Example call: static final int iWndId = WNDID_MAIN; // constant defined in FlexFrame ... private HelpHandlerI helpHandler = new Help(); ... void bHelp_Clicked(Event event) { // if applicable, check for focus here and set fieldId // correspondingly int iFldId = 0; // field id zero for window level help helpHandler.showHelp(this.iWndId, iFldId); }
KeyWatcher: Adds the controller as a key listener for all items (and sub items) in a container. This is done by watching the container and automatically adding and removing key listeners as other containers or components are added or removed. Please Note: 1. setController() not only sets the controller, but also does an inital pass through the target container and adds any items already in that container. 2. The controller MUST implement KeyListener. 3. Implement canProcessComponent() to controll which components are included or excluded.
CheckboxMenuItem: This class adds an identifier to each menu item in order to uniquely determine an item independant of its label. The code is identical with MenuItem, because of hierarchy constraints, this class cannot inherit from java.awt.CheckboxMenuItem AND com.flexstor.common.awt.menu.MenuItem. It sends a ActionEvent with its action id to its container class when selected. In addition, this class implements an Observable behavior in order to create exclusive menu item groups.
FlexChoice: FlexChoice extends choice by providing for: 1. The ability to add a list of items at one time with the construstor. 2. The setItems() method which clears the choice and adds a list of items. 3. Auto padding automatically handled. This means that the first item in the choice is always a space. This option must be selected in the constructor. 4. Keeping an associated id to each item value in the list of choices.
FlexFrame: This class creates a top level window with a toolbar panel, a content panel, and an optional status bar. +------------------+ | toolbar | +------------------+ | | | content | | | | | +------------------+ | status bar | +------------------+
FlexFocusManager: (almost) Foolproof component focus setter, will repeatedly call requestFocus for a component in a different thread each time. Uses getCurrentFocus() and focusGained methods to check for success. Brute forces its way through a myriad of jdk bugs that put the focus all over the place, kill the requestFocus method, etc.
DatePanel: This class implements a date selection panel which can be plugged into any container which needs this functionality. The panel is self contained, meaning it enables/disables its components correctly depending on user input and notifies potential property change listeners about relevant changes.
ComboField: ComboField is a self configuring TextField/Choice that provides full data validation and case conversion. All edit events are sent as FlexTextEvent events, so that three different events (ItemEvent, ActionEvent, and TextEvent/KeyEvent) do not need to be caught.
SplitterPanel: A basic panel that supports a VERTICAL or HORIZONTAL splitter that may be moved with the mouse. This panel also supports a split type of NONE that will show the panel without a splitter. Ths splitter type may be changed by calling setSplitterType().
Tree: The ProtoView Tree control is designed to display and navigate through a hierarchical list of items. Items in the tree are referred to as nodes. The FlexTreeNode class which accompanies the Tree is used to refer to individual nodes of the tree.
InputDialog: InputDialog A input modal dialog which contains a label, a combo field, and OK/Cancel buttons. The width is calculated based on the length of the entry field. The height depends on the field type and the wrapping label contents.
MenuItemGroup: This class implements a group of menu items. Within the group, only one and exactly one item can be selected. Selection of one item automatically deselects the previous item. MenuItemgroup is an Observer of CheckboxMenuItem.
WrappingLabel: This class displays lines of text and wraps them around. To work properly, one dimension (width or height) must be set with setPreferredWidth/Height methods. The other dimension will be calculated.
MenuItem: This class adds an identifier to each menu item in order to uniquely determine an item independant of its label. It sends a ActionEvent with its action id to its container class when selected.
ActionChoice: This choice class can be associated with an action id defined in Constants. This action id can be queried in the eventHandler of the container to take appropriate action.
FlexTreeNode: The FlexTreeNode is a support class for the Tree. It is used to represent a single line item in the Tree. This class is based on the Proto View TreeViewJ version 2.0
Controller: This class handles state changes from the model and passes them on to registered UI controllers, i.e. menus and toolbars. by using an Observable/Observer pattern.
ToolTip: This class is used for displaying tool tips. It is a window without title bar nor border. The paint method draws directly on the graphic context.
HelpFileMapper: HelpFileMapper provides functionality to retrieve the help file mapped to an specified help ID through the HelpFileMap.xx file.
SettingsEventI: Base interface for any kind of event generated in Address Book Viewer, Send Settings Dialog and may be any other component related to setting.
TextClipboard: A basic clipboard implementation that 1. supports text only. 2. can use a local clipboard or the system clipboard.
AWTActionEvent: This class contains allows action ids (defined in Constants) to be used with a Java 1.1 Action Event.
ActionCheckerI: Queries the implementor of ActionCheckerI if the action associated with nActionId can be performed
ActionComponentI: Implementers ensure that they have an action id associated with them as defined in Constants.
| Home | Contact Us | Privacy Policy | Terms of Service |