Accept an object which was dropped onto the component handled by this handler.
Called whenever the timer fires.
Redoes the current undoable change.
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.
Register an undoable change with the manager.
Adds an ActionListener
to the button.
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.
Create a command manager of this type without parent and with a newly
created context of type
AttributedContext
.
Create a command manager of this type with given parent and a newly
created context of type
AttributedContext
.
Create a command manager of this type with given parent and context.
Create a command manager of this type without parent and with the given
context.
Context object for use with org.pietschy.command.CommandManager
.
Create a context of this type without any keys.
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.
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.
Create a new JMenuItem
with a description taken from the given
resource bundle.
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.
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.
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.
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.
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 for this button.
Retrieve a value for a given attribute.
Retrieve the attribute with the given key.
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.
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.
Return the column index for this button.
Returns the context of this command manager.
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.
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 single selection model used by this group.
Return a default description for a No-button.
Return a default description for an OK-button.
Returns the parent of this command manager.
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 current selection.
Returns the first selected value, or null
if the
selection is empty.
Returns an array of the values for the selected cells.
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.
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?
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.
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.
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.
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.
Toggle command that installs a given mouse tool with a given mouse overlay.
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.
Sets a new value for a given attribute.
Stores an attribute with the given key.
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.
Enables/disables the action and changes the caption accordingly.
Enables/disables the action and changes the caption accordingly.
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()
.
Set the interval between repeats.
Put the mark at the current index position.
Sets a new data model and clears the selection.
Set the number of columns to use in this list.
Set the currently selected index.
Set the background color for selections.
Set the text color for selections.
Set or change the selection model.
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.
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 command that makes a particular window visible (if it was not) and brings it
to the front.
Abstract action (controller) based on an internationalized description.
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.
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.