com.jidesoft.swing |
|
Java Source File Name | Type | Comment |
Alignable.java | Interface | Alignable is an interface that can be implemented by any
components to provide information such as how to set orientation and
check whether a component supports vertical orientation or horizontal
orientation.
Some components support both vertical orientation and horizontal orientation.
For example, an icon-only JideButton. |
Animator.java | Class | An ActionListener with a timer. |
AnimatorListener.java | Interface | This is a listener that can be used to customize the behaviour of animation. |
AutoCompletion.java | Class | AutoCompletion is a helper class to make JTextComponent or JComboBox auto-complete based
on a list of known items.
There are three constructors. |
AutoCompletionComboBox.java | Class | An auto completion combobox. |
AutoResizingTextArea.java | Class | An extended version of JTextArea that automatically resizes itself vertically.
This component works best when used in a layout that obeys preferred height of its components.
For example, you can use a BorderLayout and place AutoResizingTextArea
to the north or south side. |
AutoScroll.java | Class | Please note: we are still polishing this class and may change the public interface in the future.
Please do not use it for now until we remove this notice. |
ButtonPanel.java | Class | ButtonPanel can have a collection of buttons. |
ButtonStyle.java | Interface | The definitions of various button style. |
Calculator.java | Class | Calculator is a component that can do simple arithmetic calculation. |
CheckBoxList.java | Class | CheckBoxList is a special JList which uses JCheckBox as the list element.
In addition to regular JList feature, it also allows you select any number
of elements in the list by selecting the check boxes.
To select an element, user can mouse click on the check box, or highlight the rows and press SPACE
key to toggle the selections.
We used cell renderer feature in JList to add the check box in each row. |
CheckBoxListCellRenderer.java | Class | Renders an item in a list using JCheckBox. |
CheckBoxListSelectionModel.java | Class | |
CheckBoxListWithSelectable.java | Class | CheckBoxListWithSelectable is a special JList which uses JCheckBox as the list element.
In addition to regular JList feature, it also allows you select any number
of elements in the list by selecting the check boxes.
The element is ListModel should be an instance of
Selectable . |
CheckBoxTree.java | Class | CheckBoxTree is a special JTree which uses JCheckBox as the tree renderer.
In addition to regular JTree's features, it also allows you select any number
of tree nodes in the tree by selecting the check boxes.
To select an element, user can mouse click on the check box, or
select one or several tree nodes and press SPACE key to toggle the
check box selection for all selected tree nodes.
In order to retrieve which tree paths are selected, you need to call
CheckBoxTree.getCheckBoxTreeSelectionModel() .
It will return the selection model that keeps track of which tree paths have been checked. |
CheckBoxTreeCellRenderer.java | Class | Renderers an item in a tree using JCheckBox. |
CheckBoxTreeSelectionModel.java | Class | CheckBoxTreeSelectionModel is a selection _model based on
DefaultTreeSelectionModel and use
in
CheckBoxTree to keep track of the checked tree paths. |
ClickThroughLabel.java | Class | ClickThroughLabel is a special JLabel that will retarget all mouse events to specified target component.
For example, you need to paint some text on a JComponent. |
ClickThroughStyledLabel.java | Class | ClickThroughStyledLabel is a special ClickThroughStyledLabel that will retarget all mouse events to specified target component.
For example, you need to paint some text on a JComponent. |
ComboBoxSearchable.java | Class | ComboBoxSearchable is an concrete implementation of
Searchable that enables the search function in non-editable JComboBox.
It's very simple to use it. |
ComponentStateSupport.java | Interface | A component should implement this interface if it supports various background and foreground
for different states. |
ContentContainer.java | Class | In JIDE Action Framework, ContentContainer is the area that contains all command bars. |
Contour.java | Class | A Contour is a lightweight component which only paints the outline
of component when dragged. |
DefaultOverlayable.java | Class | DefaultOverlayable is the default implementation of Overlayable using JPanel as
the base component. |
DefaultSelectable.java | Class | The element used by CheckBoxList's ListModel. |
DefaultSplitButtonModel.java | Class | |
DelegateAction.java | Class | DelegateAction is a special AbstractAction which can do something then delegate to another action depending on
the return value of
DelegateAction.delegateActionPerformed(java.awt.event.ActionEvent) .
There are two usages of it. |
DelegateMouseInputListener.java | Class | This mouse input listener can delegate the mouse events to another mouse input listener. |
DelegateMouseListener.java | Class | This mouse listener can delegate the mouse events to another mouse listener. |
DelegateMouseMotionListener.java | Class | This mouse motion listener can delegate the mouse events to another mouse motion listener. |
DragableHandle.java | Interface | An interface to indicate a component can be used as a handle to be drag. |
FastGradientPainter.java | Class | |
Flashable.java | Class | Flashable is a basic interface to enable flashing in any component. |
FolderChooser.java | Class | FolderChooser provides a simple mechanism for the user to
choose a folder.
In addition to supporting the basic folder choosing function, it also supports create new folder, delete an existing
folder. |
Gripper.java | Class | Gripper is a component that you can drag. |
HeaderBox.java | Class | HeaderBox is a special component that is used in JIDE Pivot Grid product to mimic a button with table header style. |
HeavyweightWrapper.java | Class | HeavyweightWrapper is a special heavyweight Panel that can hold another component.
It's package local right now. |
IContour.java | Interface | A Contour is a lightweight component which only paints the outline
of component when dragged. |
InfiniteProgressPanel.java | Class | |
JCellRendererPane.java | Class | Copied from CellRendererPane and make it extending JComponent so that tooltips of renderer works. |
JideBorderLayout.java | Class | This is a modified version of BorderLayout . |
JideBoxLayout.java | Class | JideBoxLayout is very similar to BoxLayout in the way that all components
are arragned either from left to right or from top to bottom. |
JideButton.java | Class | JideButton is a replacement for JButton when it is used on toolbar
(or command bar in the case of JIDE Action Framework). |
JideCursors.java | Class | A utility class that create additional cursors used by JIDE products.
Notes: this class has to be public so that JIDE can use it in different packages,
not meant to release to end user as a public API. |
JideMenu.java | Class | A special implementation of JMenu. |
JidePopupMenu.java | Class | This component extends JPopupMenu and adds a method to
display the menu inside the screen even if the mouse
pointer is near the edge of the screen. |
JideScrollPane.java | Class | JideScrollPane is an enhanced version of JScrollPane . |
JideScrollPaneConstants.java | Interface | Constants used with the JideScrollPane component. |
JideScrollPaneLayout.java | Class | The layout manager used by JideScrollPane . |
JideSplitButton.java | Class | JideSplitButton is a combination of button and menu. |
JideSplitPane.java | Class | JideSplitPane is used to divide multiple
Component s. |
JideSplitPaneDivider.java | Class | Divider used by JideSplitPane. |
JideSwingUtilities.java | Class | A utilities class for Swing. |
JideTabbedPane.java | Class | JidetabbedPane is an enhanced version of JTabbedPane . |
JideTitledBorder.java | Class | The source code is the same as TitledBorder in JDK 1.4.2 except
field TEXT_INSET_H is 0 instead of 5. |
JideToggleButton.java | Class | An implementation of a two-state JideButton. |
JideToggleSplitButton.java | Class | An implementation of a two-state JideButton. |
LabeledTextField.java | Class | LabeledTextField is a combo component which includes text field and
an optional JLabel in the front and another optionial AbstractButton at the end. |
ListSearchable.java | Class | ListSearchable is an concrete implementation of
Searchable that enables the search function in JList.
It's very simple to use it. |
MouseInputListeners.java | Class | |
MultilineLabel.java | Class | Normal JLabel cannot have multiple lines. |
NullButton.java | Class | This is part of the null-components. |
NullCheckBox.java | Class | This is part of the null-components. |
NullJideButton.java | Class | This is part of the null-components. |
NullLabel.java | Class | This is part of the null-components. |
NullPanel.java | Class | This is part of the null-components. |
NullRadioButton.java | Class | This is part of the null-components. |
NullTristateCheckBox.java | Class | This is part of the null-components. |
Overlayable.java | Interface | Overlayable provides a way to add a number of components on top of another component as the overlay components. |
OverlayableIconsFactory.java | Class | A helper class to contain icons for the overlayable components
Those icons are copyrighted by JIDE Software, Inc. |
OverlayableUtils.java | Class | This util class has several methods related to Overlayable . |
OverlayCheckBox.java | Class | |
OverlayComboBox.java | Class | |
OverlayRadioButton.java | Class | |
OverlayTextArea.java | Class | |
OverlayTextField.java | Class | |
PaintPanel.java | Class | A panel which support Paint as background. |
PartialEtchedBorder.java | Class | |
PartialGradientLineBorder.java | Class | This is a border which allows you to have gradient line only at one side or several sides. |
PartialLineBorder.java | Class | This is a better version of LineBorder which allows you to show line only at one side or several sides. |
PartialSide.java | Interface | |
PopupWindow.java | Class | PopupWindow class
You can add another JPopupMenu or JComboxBox in this popup. |
RangeSlider.java | Class | RangeSlider is a slider that can be used to select a range. |
Resizable.java | Class | Resizable is a class that support resizable feature. |
ResizableDialog.java | Class | A resizable undecorated dialog. |
ResizableFrame.java | Class | A resizable undecorated frame. |
ResizableMouseInputAdapter.java | Class | Mouse input listenr to control the resizing of Resizable component. |
ResizablePanel.java | Class | ResizablePanel is a panel that can be resized. |
ResizableSupport.java | Interface | An interface to indicate a component support Resizable. |
ResizableWindow.java | Class | A resizable window. |
Resource.java | Class | |
Searchable.java | Class | JList, JTable and JTree are three data-rich components. |
SearchableBar.java | Class | SearchableBar is a convenient component to enable searching feature
for components. |
SearchableBarIconsFactory.java | Class | A helper class to contain icons for SearchableBar. |
SearchableProvider.java | Interface | SearchableProvider is an interface that works with
Searchable to
provide different way to supply the searching text. |
SearchableUtils.java | Class | Utility class to make component searchable. |
Selectable.java | Interface | Selectable is an interface indicating something is selectable. |
SelectAllUtils.java | Class | SelectAllUtils is a utility class to select all the text
in a text component when the component first time receives focus. |
ShadowFactory.java | Class | A shadow factory generates a drop shadow for any given picture, respecting
the transparency channel if present. |
SimpleScrollPane.java | Class | SimpleScrollPane is a special scroll pane. |
SimpleScrollPaneLayout.java | Class | The layout manager used by SimpleScrollPaneLayout . |
SplitButtonGroup.java | Class | SplitButtonGroup extends ButtonGroup to provide the same button grouping function
for JideToggleSplitButton. |
SplitButtonModel.java | Interface | SplitButtonModel is for JideSplitButton. |
Sticky.java | Class | Sticky is a helper class to make JList or JTree changing selection when mouse moves. |
StringConverter.java | Interface | An interface to convert a string to anther one. |
StyledLabel.java | Class | StyledLabel is a special JLabel which can display text in different styles.
It is a component between JLabel and JTextPane. |
StyledLabelBuilder.java | Class | StyledLabelBuilder is a quick way to define StyledLabel.
It provides two ways to handle the creation and modification of StyleLabels.
The first is to use it as a builder (thus the name).
This way is preferred if you want to create a StyledLabel with a specific
format and partially generic content.
Example:
StyledLabel label = new StyledLabelBuilder()
.add(file.getName())
.add(" (", Font.BOLD)
.add(file.getPath(), "italic") // using annotation style - see section two for information about annotations
.add(")", Font.BOLD)
.createLabel();
This code would be used to create a label like "something.txt (/temp/something.txt)" with some styling (the braces would be bold, the path would be italic).
In case you find yourself reusing a specific style quite often in such a label
you might consider to create a style for it.
This can be done with the help of the
StyledLabelBuilder.register -methods.
As an example, the code above could be rewritten like this (though it only pays off when used for creation of longer styles):
StyledLabelBuilder builder = new StyledLabelBuilder()
.register("OPERATOR", Font.BOLD, new Color(0x000052)) // use parameters
.register("PATH", "italic, f:#0000CD"); // or style annotations
StyledLabel label = builder
.add(file.getName())
.add(" (", "OPERATOR")
.add(file.getPath(), "PATH,underlined") // use a style + style annotation
.add(")", "OPERATOR")
.createLabel();
Note that we're using different font colors this time. |
StyleRange.java | Class | A data structure represents a style for a range of text. |
TabEditingEvent.java | Class | |
TabEditingListener.java | Interface | Defines an object which listens for TabEditingEvent. |
TableSearchable.java | Class | TableSearchable is an concrete implementation of
Searchable that enables the search function in JTable.
It's very simple to use it. |
TextComponentSearchable.java | Class | TextComponentSearchable is an concrete implementation of
Searchable that enables the search function in JTextComponent.
It's very simple to use it. |
TopLevelMenuContainer.java | Interface | A markup interface to indicate this is a top level menu or command bar.
The original Swing code used JMenuBar to determine if it is TopLeveMenu. |
TreeSearchable.java | Class | TreeSearchable is an concrete implementation of
Searchable that enables the search function in JTree.
It's very simple to use it. |
TristateCheckBox.java | Class | Maintenance tip - There were some tricks to getting this code
working:
1. |
WeakPropertyChangeListener.java | Class | How to use this:
KeyboardFocusManager focusManager =
KeyboardFocusManager.getCurrentKeyboardFocusManager();
// instead of registering direclty use weak listener
// focusManager.addPropertyChangeListener(focusOwnerListener);
focusManager.addPropertyChangeListener(
new WeakPropertyChangeListener(focusOwnerListener, focusManager));
How does this work:
Instead of registering propertyChangeListener directly to keyboardFocusManager, we wrap it inside WeakPropertyChangeListener and register this weak listener to keyboardFocusManager. |