Accept an object which was dropped onto the component handled by this handler.
Called whenever the timer fires.
Shows the file chooser dialog and dispatches to the
appropriate dialog...
method depending on
the users choice
Hides the associated window.
Redoes the current undoable change.
Makes the associated window visible and brings it to the front.
Undoes the current undoable change.
Provides a means of repeating an action as long as a certain button is pressed.
Create a new object of this type.
Add the given button to the group.
Add the given button to the group.
Register an undoable change with the manager.
Adds an ActionListener
to the button.
Adds a listener which should be notified of all changes in the model.
Register the listener with the model.
Adds a listener which should be notified of all changes in the model.
Register the listener with the model.
Add a handler to this tool.
Add a prototype decoration for default columns, i.e., columns with
a column class for which no decorations were registered.
Add a prototype decoration for a given column class.
Register a listener which will be notified of all changes in the collapsed
state of the subwindow.
Register a listener with this object.
Does this handler allow multiple objects of this class to be dropped
at the same time?
Return value if approve (yes, ok) is chosen.
Implementation of javax.swing.ListModel
that behaves like an
ArrayList
and implements the interface java.util.List
from
the collections API.
Constructs an empty list with an initial capacity of ten.
Constructs a list containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.
Constructs an empty list with the specified initial capacity.
Return value if cancel is chosen (or window is simply closed).
Check whether this handler can work on the given component.
Returns true if and only if all handlers registered with this tool
can handle the given component.
Check whether this handler can work on the given component.
Overrides the standard functionality of TransferHandler
by delegating
to the individual drop handlers registered with this object.
Are there currently any changes that can be redone?
Are there currently any changes that can be undone?
List component in which list items are layed out as cells in a grid.
Construct a list of this type for the given model, with the given
cell size.
Is responsible for painting a single element of a
CellList
.
Objects of this type are intended to be used as elements of
a
CellList
.
Called when the collapsed state of the subwindow changes.
Clear the list of undoable commands.
Makes a copy of this object.
Makes a copy of this object.
Makes a copy of this object.
Create a Cancel button with same look-and-feel as the Cancel button of an
option pane.
Return a button with the look and feel of a 'close' button.
Create a new dialog, centered on the given component, with this as its
central panel.
Create a new dialog, centered on the given component, with this as its
central panel, displaying the given icon.
Create a new dialog, centered on the given component, with this as its
central panel.
Create a new dialog, centered on the given component, with this as its
central panel, displaying the given icon.
Factory method which creates the file chooser at initialization time.
Create a new JButton
with a description taken from the given
resource bundle.
Create a new JCheckBox
with a description taken from the given
resource bundle.
Create a new JCheckBoxMenuItem
with a description taken from the
given resource bundle.
Create a new JMenu
with a description taken from the given
resource bundle.
Build a menu bar which corresponds to the root configuration
element with the given key.
Create a new JMenuItem
with a description taken from the given
resource bundle.
Build a popup menu which corresponds to the menu configuration
element with the given key.
Create a new JRadioButton
with a description taken from the
given resource bundle.
Create a new JRadioButtonMenuItem
with a description taken from
the given resource bundle.
Create a new JToggleButton
with a description taken from the
given resource bundle.
Build a tool bar which corresponds to the menu configuration
element with the given key.
Create a dialog which contains a list which is handled by a new handler,
registered to the named logger of the application (use the empty string
for the root logger).
Create a No button with same look-and-feel as the No button of an
option pane.
Create an OK button with same look-and-feel as the OK button of an
option pane.
Creates a new simple dialog with the given component as a parent.
Return the handler associated wit the given protocol, or null
if a default handler should be tried
Create a Yes button with same look-and-feel as the Yes button of an
option pane.
An object of this class describes caption, mnemonic and accelerator key of a
GUI component.
Create a new object based on the given description string.
Create a new description with the given subconstituents.
Called when the dialog is approved.
Called when the dialog is canceled.
Called when the dialog is dismissed.
Common super class of all panels that are meant to be used as central panels
in a
SimpleDialog
.
Create a dialog panel with the given layout manager.
Action which is performed repeatedly while the button
is pressed.
Invoked when the mouse was clicked, i.e.
Invoked when the mouse was clicked, i.e.
Invoked when the mouse pointer was dragged, i.e., moved
while the button is down.
Invoked when the mouse pointer was dragged, i.e., moved
while the button is down.
Invoked when the mouse was pressed down and then dragged
for the first time.
Invoked when the mouse was pressed down and then dragged
for the first time.
Invoked when the mouse pointer was released after it was dragged.
Invoked when the mouse pointer was released after it was dragged.
Invoked when a popup gesture was invoked and the
mouse did not actually move while the button was down.
Invoked when a popup gesture was invoked and the
mouse did not actually move while the button was down.
Handles the 'drag' part of a drag-and-drop operation of a local object of given type.
Draw attention to the logging window.
Handles the 'drop' part of a drag-and-drop operation of a local object of given type.
Acts like a button group with associated generic selection model for
type E
.
Create a selection group with a newly created selection model and no
buttons.
Create a selection group with a newly created selection model and no
buttons.
Create a selection group with the given model.
Model which keeps track of a single element selected from a group.
Return the accelerator key for this description, or 0 when no key was
given.
Return the action command of the currently selected button,
or null if none is selected.
Return the action command of the currently selected button,
or null if none is selected.
Return the action command for this button.
The action map used by this builder
Return the color which is used to draw the focus indicator.
Button to which this repeater is currently registered, or null
if none.
Return the button panel for this dialog.
Return a default description for a Cancel-button.
Return the caption for this description.
Obtain the correct caption from the manager.
Returns the bounds of the specified range of items in component
coordinates.Returns null
if index isn't valid.
Return the icon to be displayed when not selected.
Return the cell renderer used by this list.
Return the icon to be displayed when selected.
Return the text to be displayed.
Return tool tip text for this value.
Return the child component which is managed by this subwindow.
Returns the first child component with the given name, or null
if no such child can be found.
Return the column index for this button.
Return the height of this decoration.
Return the height of this decoration.
Return the height of this decoration.
Return the list of decorations for the given column.
Return the width of this decoration.
Return the width of this decoration.
Return the width of this decoration.
Returns the first descendant with the given name, or null if no
such descendant can be found.
Return the drag handler used by this transfer handler, or null
when none is registered.
Return the class of elements that can be dropped by this handler
onto the given component.
Return the last drag-and-drop location where this component is a target.
Return the class of objects being exported from the given source.
Return the class of objects being exported.
Return the object(s) to be exported by a drag
or cut-and-paste operation from the given source.
Return the object(s) to be exported by a drag-and-drop
or cut-and-paste operation.
Return the font used for the caption.
The color which is used to display the caption.
Horizontal padding for this subwindow.
Return the background color for icons.
Return the gap between text and icon
Return the insets of this cell.
The maximum size is derived from the maximum size of the child
unless it has been explicitely set.
The minimum size is derived from the minimum size of the child
unless it has been explicitely set.
Return the mnemonic for this description
Return the index of the mnemonic for this description, or -1 when no
mnemonic was given.
Return the current data model.
The selection model used by this group.
The single selection model used by this group.
Return the underlying model which keeps track of what mouse tool
is currently active.
Return a default description for a No-button.
Return a default description for an OK-button.
Retrieve the popup log level, i.e., the minimum level
for which the handler will try to draw the attention of the user
by sounding a beep, making the parent window of the list visible
and moving it to the front.
The preferred size is derived from the preferred size of the child
unless it has been explicitely set.
Provides a caption for a corresponding redo button.
Return the caption for a redo button.
Get the last value returned by launch
.
Returns the distance to scroll vertically to expose the next or previous block.
Returns the distance to scroll vertically to expose the next or previous
row.
Return the button which is currently selected.
Return the button which is currently selected.
Return the current selection.
Returns the first selected value, or null
if the
selection is empty.
Returns an array of the values for the selected cells.
Returns the current selection or null if nothing is currently
selected.
Return the current selection.
Returns the current selection or null if nothing is currently
selected.
Return the background color for selections.
Return the text color for selections.
Return the current selection model.
Returns the type of transfer actions supported by the given component.
Returns the type of transfer actions supported by the given source component.
Return the caption to be displayed.
The color of the subwindow border, as set by the user.
The color of the title bar.
The color of the title bar when the subwindow
does not own the focus, as set by the user.
The height of the title bar in pixels.
Return the color for the text of the title bar.
The color of the text in the title bar when the subwindow
does not own the focus, as set by the user.
Return the resource key for the dialog title.
Return the tool tip text for the given element.
If
value
is of type
CellListCellValue
, this
implementation returns the tool tip text provided by that interface.
Overrides JComponent
's getToolTipText
method in order to allow the renderer's tips to be used
if it has text set.
Provides a caption for a corresponding undo button.
Return the caption for an undo button.
Vertical padding for this subwindow.
Return a default description for a Yes-button.
Overrides the standard functionality of TransferHandler
by delegating
to the individual drop handlers registered with this object.
Return the top left coordinate of the cell with given index,
or null
if the index is not valid.
Initializes and populates the dialog.
Initialize caption and mnemonic for the given button, according to this
description.
Initialize caption, mnemonic and accelerator key for the given action,
according to this description.
Initialize the action map.
Initialize the approve button and title of the given file chooser, according to this
description.
Creates the button panel and makes the OK
-button the
default button.
Request that this factory be used before the default factory for resolving
URL's.
Is this window collapsed?
Check whether the current index position is different from the mark.
Is dragging on this component enabled?
Is a drag-and-drop operation in progress where
this component is a target?
Check whether an element is currently selected.
Check whether an element is currently selected.
Indicates whether this handler allows a transfer from the given source to the given target.
Indicates whether a transfer from a given source to given destination
is allowed.
Return an iterator over the handlers of this tool.
URLStreamHandlerFactory
which allows run time registration of new handlers.
The action key used for storing a medium size 'disabled'
Icon
for use with tool bar buttons.
The action key used for storing a medium size Icon
for use with tool bar buttons.
Allows menus to be constructed from a configuration file.
Create a new object of this type with a default action map.
Create a new object of this type with the associated action map.
Button for use in a menu.
Create a menu button from the given action.
Check box button for use in a menu.
Create a menu button from the given action.
Indicates a menu configuration error.
Create an exception of this kind with given detail
message.
Create an exception of this kind with given detail
message and cause
Radio button for use in a menu.
Create a menu button from the given action.
Dispatch the dragged event to the currently active handler.
Signals that the mouse pointer entered the bounds
of this decoration.
Signals that the mouse pointer entered the bounds
of this decoration.
Signals that the mouse pointer entered the bounds
of this decoration.
Signals that the mouse pointer exited the bounds
of this decoration.
Signals that the mouse pointer exited the bounds
of this decoration.
Signals that the mouse pointer exited the bounds
of this decoration.
Handles certain types of mouse events and provides visual feedback.
Invisible component which overlays another component in order to
handle mouse operations for it.
Creates a new instance of this class with a default model.
Creates a new instance of this class.
Signals that the mouse button was pressed inside the bounds
of this decoration.
Signals that the mouse button was pressed inside the bounds
of this decoration.
Signals that the mouse button was pressed inside the bounds
of this decoration.
If the event is a popup trigger, dispatch it as a popup event to
the first handler that takes it.
Signals that the mouse button was released after being pressed
inside the bounds of this decoration.
Signals that the mouse button was released after being pressed
inside the bounds of this decoration.
Signals that the mouse button was released after being pressed
inside the bounds of this decoration.
If a drag event preceeds this event, send it to the active handler.
Called for the file selected by the user.
Acts like a button group with associated single selection model.
Create a selection group with a newly created single selection model and no
buttons.
Create a selection group with a newly created single selection model and no
buttons.
Create a selection group with the given model.
Focus listener which automatically selects the contents of a text component when it
gains focus.
Set the action command for this button.
Set the color which is used to draw the focus indicator.
Set the height of a grid cell.
Set width and height of a grid cell.
Set the width of a grid cell.
Add the central component to the dialog.
Change the 'collapsed' state of this window.
Called to indicate that this decoration has been associated
with the given table column.
Called to indicate that this decoration has been associated
with the given table column.
Called to indicate that this decoration has been associated
with the given table column.
(Re)initialize this object based on the given description string.
Indicate whether dragging on this component should be enabled.
Set the font used for the caption.
Set the color to be used for the caption.
Sets the horizontal for this subwindow.
Set the icon to be displayed.
Add the icon to the dialog (or remove when null}.
Set the background color for icons.
Set the gap between text and icon
Set the insets of this cell.
Set the interval between succesive calls to
doAction()
.
Put the mark at the current index position.
Set the medium size 'disabled' icon for this action.
Set the medium size icon for this action.
Sets a new data model and clears the selection.
Set the number of columns to use in this list.
Set a predicate with the given name.
Set the currently selected index.
Set the current selection and notify any listeners in case of changes.
Set the current selection.
Set the current selection and notify any listeners in case of changes.
Set the background color for selections.
Set the text color for selections.
Set or change the selection model.
Set the shared button model for toggle buttons created with this
action.
Set the small 'disabled' icon for this action.
Set the caption to be displayed.
Set the color to be used for the subwindow border.
Set the color to be used for the title bar.
Set the color to be used for the title bar when the subwindow
does not own the focus.
Set the height of the title bar.
Set the color to be used for the text in the title bar.
Set the color to be used for the text in the title bar when the subwindow
does not own the focus.
Change the tool to be used by this overlay.
Sets the vertical for this subwindow.
Shows the dialog appropriate for this type of file action
Shows the file chooser open dialog.
Shows the file chooser save dialog.
Alert the user that a file with the chosen name already exists.
Show a simple modal dialog with the given panel at its center and wait
for the user to respond to it.
Show a simple modal dialog with the given panel at its center and wait
for the user to respond to it.
Action that makes a particular window visible (if it was not) and brings it
to the front.
Create an action of this type for the given window.
Abstract action (controller) based on an internationalized description.
Make a simple action which is not really different from an AbstractAction
.
Construct an action with an internationalized description
string and given icon.
Construct an action with an internationalized description
string and given icons.
Simple dialog window consisting of three different components:
-
A central panel, provided by the client.
Simple action which selects a given index in a SingleSelectionModel
.
Construct an action of this type with an internationalized description
string and given icon.
Construct an action of this type with an internationalized description
string and given icons.
The action key used for storing a small 'disabled'
Icon
for use in menus.
Helper class which allows creation of 'standard' buttons (OK, Cancel, ...)
with captions and mnemonics retrieved
from the user interface manager.
Listens to changes in the state of the button to which this object is
registered.
Wraps a child component into a small `window' with a title bar.
Listens to changes in the state of a subwindow.
General Swing or SWIRL related methods.