A B C D E F G H I K L M N O P R S T U V

A

accept(File) - Method in class org.brains2b.file.PostFixFilter
 
actionPerformed(ActionEvent) - Method in class org.brains2b.swingext.action.DefaultAction
ADD - Static variable in class org.brains2b.swingext.form.EasyForm
 
add(AbstractButton) - Method in class org.brains2b.swingext.gui.ExtButtonGroup
Add will add an AbstractButton to the ButtonGroup, set the tooltip text for this group if the button does not have a separate one Adds a KeyListener to this button to handle focus keys.
addAction(Object, String, String, String, String, char) - Method in class org.brains2b.swingext.action.ExtActionMap
adds an Action to the Map
addComponent(JComponent, int, int) - Method in class org.brains2b.swingext.form.EasyForm
 
addComponent(JComponent, int, int, int, int) - Method in class org.brains2b.swingext.form.EasyForm
 
addField(String, JComponent, int, int, int) - Method in class org.brains2b.swingext.form.EasyForm
 
addImpl(Component, Object, int) - Method in class org.brains2b.swingext.gui.ScrollablePanel
addPropertyChangeListener(PropertyChangeListener) - Method in class org.brains2b.swingext.action.DefaultAction
allKeys() - Method in class org.brains2b.swingext.action.ExtActionMap

B

BTN_ALL - Static variable in class org.brains2b.swingext.form.FormAction
Constant for displaying all the buttons (Ok,Apply,Undo and Cancel)
BTN_APPLY - Static variable in class org.brains2b.swingext.form.FormAction
Constant for displaying the Applyl buttons
BTN_CANCEL - Static variable in class org.brains2b.swingext.form.FormAction
 
BTN_OK - Static variable in class org.brains2b.swingext.form.FormAction
 
BTN_OK_CANCEL - Static variable in class org.brains2b.swingext.form.FormAction
Constant for displaying the Ok and Cancel buttons
BTN_UNDO - Static variable in class org.brains2b.swingext.form.FormAction
Constant for displaying the Undo buttons

C

CHANGED - Static variable in class org.brains2b.swingext.gui.StatusBar
 
clear() - Method in class org.brains2b.swingext.action.ExtActionMap
close() - Method in class org.brains2b.swingext.form.EasyForm
 
createIcon(String) - Static method in class org.brains2b.swingext.gui.IconFactory
Create an ImageIcon from a path The icon is loaded from getClass().getResource(URL)
createIcon(String, int) - Static method in class org.brains2b.swingext.gui.IconFactory
Create an ImageIcon from a path with a specific size If the loaded ImageIcon is not the size defined the icon will be scaled with Image.SCALE_SMOOTH The icon is loaded from getClass().getResource(URL)
createMenu(String, char) - Static method in class org.brains2b.swingext.gui.GuiItemFactory
Create a JMenu with a mnemonic
createMenuItem(JMenuItem, Action) - Static method in class org.brains2b.swingext.gui.GuiItemFactory
Create a JMenuItem on the basis of an Action and add it to the parent.

D

DATE - Static variable in class org.brains2b.swingext.mask.MaskedField
Constant for defining a DateValidator
DateValidator - Class in org.brains2b.swingext.mask
DateValidator is an InputValidator that functions like a display mask for dates.
DateValidator() - Constructor for class org.brains2b.swingext.mask.DateValidator
Constructor for DateValidator.
DateValidator(Locale) - Constructor for class org.brains2b.swingext.mask.DateValidator
Constructor for DateValidator.
DateValidator(Locale, String) - Constructor for class org.brains2b.swingext.mask.DateValidator
Constructor for DateValidator.
DefaultAction - Class in org.brains2b.swingext.action
Default action implements Action and gives access to all Action properties.
DefaultAction(ActionListener) - Constructor for class org.brains2b.swingext.action.DefaultAction
 
DefaultAction(ActionListener, Object) - Constructor for class org.brains2b.swingext.action.DefaultAction
 
DefaultAction(ActionListener, Object, String, String, Icon, KeyStroke, char) - Constructor for class org.brains2b.swingext.action.DefaultAction
 
DEFAULTPATH - Static variable in class org.brains2b.swingext.conf.UserPreference
Constant defining the default path "user.home"/.java/conf as a String
DELETE - Static variable in class org.brains2b.swingext.form.EasyForm
 
DOESNT_COMPLY - Static variable in exception org.brains2b.swingext.mask.MaskException
 

E

EasyForm - Class in org.brains2b.swingext.form
EasyForm is a class for making standardized forms.
EasyForm(int) - Constructor for class org.brains2b.swingext.form.EasyForm
 
EasyForm(int, int) - Constructor for class org.brains2b.swingext.form.EasyForm
 
EMPTY - Static variable in class org.brains2b.swingext.gui.StatusBar
 
encode(Font) - Static method in class org.brains2b.swingext.util.FontHelper
Encode a Font into a String that can be decoded with Font.decode(String)
ExtActionMap - Class in org.brains2b.swingext.action
An Abstract ActionMap with an easy way to add actions This actionMap takes an ActionListener that handles all actions in this Map.
ExtActionMap(ActionListener) - Constructor for class org.brains2b.swingext.action.ExtActionMap
Create an FwActionMap.
ExtButtonGroup - Class in org.brains2b.swingext.gui
Extended ButtonGroup overwrites ButtonGroup to keep access to the buttons contained and the sequence it is contained in.
ExtButtonGroup() - Constructor for class org.brains2b.swingext.gui.ExtButtonGroup
Constructor for ExtButtonGroup.
ExtInputMap - Class in org.brains2b.swingext.action
Quick way to make a ComponentInputMap.
ExtInputMap(JComponent) - Constructor for class org.brains2b.swingext.action.ExtInputMap
Constructor for ExtInputMap.

F

FontHelper - Class in org.brains2b.swingext.util
Helper class to encode a Font into a String that can be decoded with Font.decode(String)
FontHelper() - Constructor for class org.brains2b.swingext.util.FontHelper
 
Form - Interface in org.brains2b.swingext.form
Interface for use with FormAction to handle the actions following pressing Ok/Apply/Undo/Cancel
FormAction - Class in org.brains2b.swingext.form
Sub panel for default [Ok][Cancel][Undo][Apply] buttons Can be used in any panel that implements org.brains2b.model.gui.Form To set the buttons you want to display add the constants of the buttons you want displayed when invoking the Constructor
for example: FormAction.BTN_OK_CANCEL+FormAction.UNDO
Shows the [Ok][Undo] and [Cancel] button but not the [Apply] button
FormAction.BTN_ALL is just a conveniance for displaying all buttons.
FormAction(Form) - Constructor for class org.brains2b.swingext.form.FormAction
Constructor for FormAction.
FormAction(Form, int) - Constructor for class org.brains2b.swingext.form.FormAction
Constructor for FormAction.
FormAction(Form, int, ResourceBundle) - Constructor for class org.brains2b.swingext.form.FormAction
Constructor for FormAction.

G

get(Object) - Method in class org.brains2b.swingext.action.ExtActionMap
getActionMap() - Method in class org.brains2b.swingext.action.ExtInputMap
get the actionMap created by this InputMap
getButton(int) - Method in class org.brains2b.swingext.form.FormAction
returns the JButton Object on the basis of the id
getDescription() - Method in class org.brains2b.file.PostFixFilter
 
getErrorMessage() - Method in class org.brains2b.swingext.mask.DateValidator
 
getErrorMessage() - Method in interface org.brains2b.swingext.mask.InputValidator
retrieves the errormessage if verify returns false.
getErrorMessage() - Method in class org.brains2b.swingext.mask.NumberValidator
 
getErrorMessage() - Method in class org.brains2b.swingext.mask.TextValidator
 
getErrorNo() - Method in exception org.brains2b.swingext.mask.MaskException
Returns the errorNo.
getExtention() - Method in class org.brains2b.file.PostFixFilter
 
getFilename() - Method in class org.brains2b.swingext.conf.UserPreference
gets the filename with its path that is used to store the properties
getListener() - Method in class org.brains2b.swingext.action.ExtActionMap
get the ActionListener belonging to this map
getLocalizedMessage() - Method in class org.brains2b.swingext.mask.DateValidator
 
getLocalizedMessage() - Method in interface org.brains2b.swingext.mask.InputValidator
retrieve the error message, localized to the default locale if verify returns false
getLocalizedMessage() - Method in exception org.brains2b.swingext.mask.MaskException
 
getLocalizedMessage() - Method in class org.brains2b.swingext.mask.NumberValidator
 
getLocalizedMessage() - Method in class org.brains2b.swingext.mask.TextValidator
 
getMain() - Method in class org.brains2b.swingext.form.EasyForm
 
getMap() - Method in class org.brains2b.swingext.action.ExtActionMap
get the SortedMap this ActionMap is based on
getMessage() - Method in exception org.brains2b.swingext.mask.MaskException
 
getMode() - Method in class org.brains2b.swingext.form.EasyForm
 
getPreferredScrollableViewportSize() - Method in class org.brains2b.swingext.gui.ScrollablePanel
getPreferredSize() - Method in class org.brains2b.swingext.gui.ScrollablePanel
Adjust the Width of the Dimension to add the width of a ScrollBar.
getRootPane() - Method in interface org.brains2b.swingext.form.Form
get the RootPane of the component this interface is implemented on.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class org.brains2b.swingext.gui.ScrollablePanel
getScrollableTracksViewportHeight() - Method in class org.brains2b.swingext.gui.ScrollablePanel
getScrollableTracksViewportWidth() - Method in class org.brains2b.swingext.gui.ScrollablePanel
getScrollableUnitIncrement(Rectangle, int, int) - Method in class org.brains2b.swingext.gui.ScrollablePanel
getSelectedIndex() - Method in class org.brains2b.swingext.gui.ScrollablePanel
The Panel selected in this Scroll list
getStatusTextComponent() - Method in class org.brains2b.swingext.gui.StatusBar
 
getString(String) - Method in class org.brains2b.swingext.mask.DateValidator
 
getString(String, Class) - Method in class org.brains2b.swingext.mask.DateValidator
 
getString(String) - Method in interface org.brains2b.swingext.mask.InputValidator
gets a String as representation of the value from a InputValidator Implementations might differ on what you need the value for.
getString(String, Class) - Method in interface org.brains2b.swingext.mask.InputValidator
gets a String as representation of the value from a InputValidator Implemenations differ for the implementations of this interface and on which Class is supplied for output.
getString() - Method in class org.brains2b.swingext.mask.MaskedField
gets the String as formatted possibly without the mask as defined in org.brains2b.mask.InputValidator#getString()
getString(Class) - Method in class org.brains2b.swingext.mask.MaskedField
gets the String as formatted possibly without the mask as defined in org.brains2b.mask.InputValidator#getString(String, Class)
getString(String) - Method in class org.brains2b.swingext.mask.NumberValidator
 
getString(String, Class) - Method in class org.brains2b.swingext.mask.NumberValidator
 
getString(String) - Method in class org.brains2b.swingext.mask.TextValidator
Implementation of getString(String) in this case only returns the baseCharacters [0-9][A-Z], no spaces, or symbols from the Mask.
getString(String, Class) - Method in class org.brains2b.swingext.mask.TextValidator
 
getStyle(int) - Static method in class org.brains2b.swingext.util.FontHelper
get the String representation of the style constants from Font
getTitle() - Method in class org.brains2b.swingext.form.EasyForm
Gets the title.
getToolTipText() - Method in class org.brains2b.swingext.gui.ExtButtonGroup
Returns the toolTipText.
getType() - Method in class org.brains2b.swingext.mask.MaskedField
Returns the type of this MaskedField DATE NUMBER TEXT
getValue(String) - Method in class org.brains2b.swingext.action.DefaultAction
GuiItemFactory - Class in org.brains2b.swingext.gui
Factory class to create Swing components mostly from an Action Through UIMananager some options will influence the Components created.

H

handleException(Exception) - Method in class org.brains2b.swingext.form.EasyForm
 
HORIZONTAL - Static variable in class org.brains2b.swingext.gui.ScrollablePanel
 

I

ICON_16 - Static variable in class org.brains2b.swingext.gui.IconFactory
 
ICON_32 - Static variable in class org.brains2b.swingext.gui.IconFactory
 
ICON_48 - Static variable in class org.brains2b.swingext.gui.IconFactory
 
IconFactory - Class in org.brains2b.swingext.gui
Creates and caches Icons from the given Resource location
InputValidator - Interface in org.brains2b.swingext.mask
Interface for defining Validators that can be used by MaskedField for displaying output masks.
isCancelled() - Method in class org.brains2b.swingext.form.EasyForm
 
isDirty() - Method in class org.brains2b.swingext.conf.UserPreference
Checks to see if the properties have changed.
isEnabled() - Method in class org.brains2b.swingext.action.DefaultAction
isFocusTraversable() - Method in class org.brains2b.swingext.gui.OptionalButton
Determines if this component can have the focus.
isRequestFocusEnabled() - Method in class org.brains2b.swingext.gui.OptionalButton
Determine if this component can request the focus.
isSelected() - Method in interface org.brains2b.swingext.gui.SelectablePanel
check if this Panel is selected
iterator() - Method in class org.brains2b.swingext.gui.ExtButtonGroup
An iterator for the buttons in this group This elimates the need to use the Enumeration in the original ButtonGroup

K

keys() - Method in class org.brains2b.swingext.action.ExtActionMap

L

load() - Method in class org.brains2b.swingext.conf.UserPreference
loads the properties from the defined file.

M

makeString(String) - Method in class org.brains2b.swingext.mask.NumberValidator
makes a masked String for a number that is represented without a decimal place but does have one in the mask.
MaskedField - Class in org.brains2b.swingext.mask
MaskedField extends JTextField as a convinience for implementing different display masks through InputValidator Be sure to understand that an InputValidator is implemented as setInputVerifier() for which there can be only one (grin!).
MaskedField(String, int) - Constructor for class org.brains2b.swingext.mask.MaskedField
Constructor for MaskedField
MaskedField(InputValidator) - Constructor for class org.brains2b.swingext.mask.MaskedField
 
MaskException - Exception in org.brains2b.swingext.mask
Exception thrown by InputValidators and handled through the getErrorMessage() from org.brains2b.mask.InputValidator
MaskException() - Constructor for exception org.brains2b.swingext.mask.MaskException
Constructor for MaskException.
MaskException(int) - Constructor for exception org.brains2b.swingext.mask.MaskException
 
MaskException(String) - Constructor for exception org.brains2b.swingext.mask.MaskException
Constructor for MaskException.

N

NEW - Static variable in class org.brains2b.swingext.gui.StatusBar
 
NOT_VALID_DATE - Static variable in exception org.brains2b.swingext.mask.MaskException
 
NOT_VALID_NUMBER - Static variable in exception org.brains2b.swingext.mask.MaskException
 
NUMBER - Static variable in class org.brains2b.swingext.mask.MaskedField
Constant for defining a NumberValidator
NumberValidator - Class in org.brains2b.swingext.mask
NumberValidator is an InputValidator that functions like a display mask for numbers.
NumberValidator() - Constructor for class org.brains2b.swingext.mask.NumberValidator
Constructor for NumberValidator.
NumberValidator(String) - Constructor for class org.brains2b.swingext.mask.NumberValidator
Constructor for NumberValidator.
NumberValidator(String, Locale) - Constructor for class org.brains2b.swingext.mask.NumberValidator
 

O

OptionalButton - Class in org.brains2b.swingext.gui
OptionalButton is an extension of JButton to have a Button implementation that cannot get the focus, either by requesting it or through the FocusManager.
OptionalButton() - Constructor for class org.brains2b.swingext.gui.OptionalButton
Default Constructor for OptionalButton.
OptionalButton(Icon) - Constructor for class org.brains2b.swingext.gui.OptionalButton
Constructor for OptionalButton.
OptionalButton(String) - Constructor for class org.brains2b.swingext.gui.OptionalButton
Constructor for OptionalButton.
OptionalButton(Action) - Constructor for class org.brains2b.swingext.gui.OptionalButton
Constructor for OptionalButton.
OptionalButton(String, Icon) - Constructor for class org.brains2b.swingext.gui.OptionalButton
Constructor for OptionalButton.
org.brains2b.file - package org.brains2b.file
 
org.brains2b.swingext.action - package org.brains2b.swingext.action
 
org.brains2b.swingext.conf - package org.brains2b.swingext.conf
 
org.brains2b.swingext.form - package org.brains2b.swingext.form
 
org.brains2b.swingext.gui - package org.brains2b.swingext.gui
 
org.brains2b.swingext.mask - package org.brains2b.swingext.mask
 
org.brains2b.swingext.util - package org.brains2b.swingext.util
 

P

performApply() - Method in class org.brains2b.swingext.form.EasyForm
 
performApply() - Method in interface org.brains2b.swingext.form.Form
method called if Apply is pressed
performCancel() - Method in class org.brains2b.swingext.form.EasyForm
 
performCancel() - Method in interface org.brains2b.swingext.form.Form
method called if Cancel is pressed
performOk() - Method in class org.brains2b.swingext.form.EasyForm
 
performOk() - Method in interface org.brains2b.swingext.form.Form
method called if Ok is pressed
performUndo() - Method in class org.brains2b.swingext.form.EasyForm
 
performUndo() - Method in interface org.brains2b.swingext.form.Form
method called if Undo is pressed
PostFixFilter - Class in org.brains2b.file
Implementation of the abstract FileFilter class This implementation only looks at the postfix of a file and will accept any files which match the postfix. or is a directory
PostFixFilter(String, String) - Constructor for class org.brains2b.file.PostFixFilter
 
put(Object, Action) - Method in class org.brains2b.swingext.action.ExtActionMap
put(KeyStroke, Object) - Method in class org.brains2b.swingext.action.ExtInputMap
put(Object, Object) - Method in class org.brains2b.swingext.conf.UserPreference
add or modify a property to these UserProperties.
putValue(String, Object) - Method in class org.brains2b.swingext.action.DefaultAction

R

remove(Object) - Method in class org.brains2b.swingext.action.ExtActionMap
remove(AbstractButton) - Method in class org.brains2b.swingext.gui.ExtButtonGroup
Removes the button from the ButtonGroup Removes the KeyListener from the button
remove(int) - Method in class org.brains2b.swingext.gui.ScrollablePanel
removePropertyChangeListener(PropertyChangeListener) - Method in class org.brains2b.swingext.action.DefaultAction

S

ScrollablePanel - Class in org.brains2b.swingext.gui
Panel which implements the Scrollable interface for multi continous forms Adding panels which implement the SelectablePanel interface make it easy to select a panel in this scrollable list of panels Scrolling can be set to be either HORIZONTAL or VERTICAL, the other dimension will thereby be fixed on the size of the added panels.
ScrollablePanel(int) - Constructor for class org.brains2b.swingext.gui.ScrollablePanel
 
SEARCH - Static variable in class org.brains2b.swingext.form.EasyForm
 
SelectablePanel - Interface in org.brains2b.swingext.gui
Interface identifying this panel as selectable in a ScrollablePanel
setDefault(String, String) - Method in class org.brains2b.swingext.conf.UserPreference
sets a property as default This means that if a value already exists it is not overwritten and isDirty will stay false
setDefaultButton(int) - Method in class org.brains2b.swingext.form.FormAction
Sets one of the defined buttons as default.
setDefaultSystemActions(ExtActionMap) - Static method in class org.brains2b.swingext.action.ExtActionMap
sets Default system actions.
setDirty(boolean) - Method in class org.brains2b.swingext.conf.UserPreference
Mark these properties as having been changed.
setDocumentStatus(int) - Method in class org.brains2b.swingext.gui.StatusBar
 
setDocumentStatus(String) - Method in class org.brains2b.swingext.gui.StatusBar
 
setEnabled(boolean) - Method in class org.brains2b.swingext.action.DefaultAction
setEnabled(JComponent, boolean) - Method in class org.brains2b.swingext.form.EasyForm
 
setEnabled(boolean) - Method in class org.brains2b.swingext.form.FormAction
overwritten default setEnabled to propagate setEnabled to all buttons when setEnabled is called on the panel
setEnabled(int, boolean) - Method in class org.brains2b.swingext.form.FormAction
 
setEnabled(boolean) - Method in class org.brains2b.swingext.gui.ExtButtonGroup
Sets all the buttons in this group to enabled or disabled.
setFile(File) - Method in class org.brains2b.swingext.conf.UserPreference
 
setFileStatus(String) - Method in class org.brains2b.swingext.gui.StatusBar
 
setFont(Font) - Method in class org.brains2b.swingext.form.FormAction
overwritten setFont to apply to all buttons on the Panel as well as to the Panel itself.
setInfoText(String) - Method in class org.brains2b.swingext.gui.StatusBar
 
setInputStatus(String) - Method in class org.brains2b.swingext.gui.StatusBar
 
setInputVerifier(InputVerifier) - Method in class org.brains2b.swingext.mask.MaskedField
set InputVerifier on this MaskedField by wrapping MaskedFields own InputValidator and the added one to an InputVerifierWrapper
setMode(int) - Method in class org.brains2b.swingext.form.EasyForm
 
setProperty(String, String) - Method in class org.brains2b.swingext.conf.UserPreference
setSelected(boolean) - Method in interface org.brains2b.swingext.gui.SelectablePanel
set this Panel to selected or deselected
setSelectedIndex(int) - Method in class org.brains2b.swingext.gui.ScrollablePanel
Set a panel in this Scroll list as selected
setStatusText(String) - Method in class org.brains2b.swingext.gui.StatusBar
 
setString(String) - Method in class org.brains2b.swingext.mask.MaskedField
Alternative to setText implemented to make sure the String inserted can be processed by the mask.
setText(String) - Method in class org.brains2b.swingext.mask.MaskedField
Overwrite of setText to make sure the input complies to the Mask
setTitle(int, String) - Method in class org.brains2b.swingext.form.EasyForm
Sets the title.
setToolTipText(String) - Method in class org.brains2b.swingext.gui.ExtButtonGroup
Sets the toolTipText.
setVerifyInputWhenFocusTarget(boolean) - Method in class org.brains2b.swingext.gui.OptionalButton
set verify input on this button will always be left set to false
setVisible(boolean) - Method in class org.brains2b.swingext.gui.ExtButtonGroup
set all buttons in this group to visible or invisible
size() - Method in class org.brains2b.swingext.action.ExtActionMap
StatusBar - Class in org.brains2b.swingext.gui
 
StatusBar() - Constructor for class org.brains2b.swingext.gui.StatusBar
 
store() - Method in class org.brains2b.swingext.conf.UserPreference
 

T

TEXT - Static variable in class org.brains2b.swingext.mask.MaskedField
Constant for defining a TextValidator
TextValidator - Class in org.brains2b.swingext.mask
TextValidator is an InputValidator that functions like a display mask for Strings.
TextValidator(String) - Constructor for class org.brains2b.swingext.mask.TextValidator
Constructor for TextValidator.

U

UPDATE - Static variable in class org.brains2b.swingext.form.EasyForm
 
UserPreference - Class in org.brains2b.swingext.conf
Abstract class extending Properties to use for user preferences in an application.
UserPreference(String) - Constructor for class org.brains2b.swingext.conf.UserPreference
Constructor for UserProperties.
UserPreference(File) - Constructor for class org.brains2b.swingext.conf.UserPreference
Constructor for UserProperties.

V

VALUE_TO_LARGE - Static variable in exception org.brains2b.swingext.mask.MaskException
 
verify(JComponent) - Method in class org.brains2b.swingext.mask.DateValidator
 
verify(JComponent) - Method in interface org.brains2b.swingext.mask.InputValidator
Just a reference to verify in javax.swing.InputVerifier
verify(JComponent) - Method in class org.brains2b.swingext.mask.NumberValidator
 
verify(JComponent) - Method in class org.brains2b.swingext.mask.TextValidator
 
VERTICAL - Static variable in class org.brains2b.swingext.gui.ScrollablePanel
 
VIEW - Static variable in class org.brains2b.swingext.form.EasyForm
 

A B C D E F G H I K L M N O P R S T U V