com.jidesoft.swing

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » jide common » com.jidesoft.swing 
com.jidesoft.swing
Java Source File NameTypeComment
Alignable.javaInterface 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.javaClass An ActionListener with a timer.
AnimatorListener.javaInterface This is a listener that can be used to customize the behaviour of animation.
AutoCompletion.javaClass AutoCompletion is a helper class to make JTextComponent or JComboBox auto-complete based on a list of known items.

There are three constructors.

AutoCompletionComboBox.javaClass An auto completion combobox.
AutoResizingTextArea.javaClass 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.javaClass 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.javaClass ButtonPanel can have a collection of buttons.
ButtonStyle.javaInterface The definitions of various button style.
Calculator.javaClass Calculator is a component that can do simple arithmetic calculation.
CheckBoxList.javaClass 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.javaClass Renders an item in a list using JCheckBox.
CheckBoxListSelectionModel.javaClass
CheckBoxListWithSelectable.javaClass 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.javaClass 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.javaClass Renderers an item in a tree using JCheckBox.
CheckBoxTreeSelectionModel.javaClass CheckBoxTreeSelectionModel is a selection _model based on DefaultTreeSelectionModel and use in CheckBoxTree to keep track of the checked tree paths.
ClickThroughLabel.javaClass 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.javaClass 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.javaClass ComboBoxSearchable is an concrete implementation of Searchable that enables the search function in non-editable JComboBox.

It's very simple to use it.

ComponentStateSupport.javaInterface A component should implement this interface if it supports various background and foreground for different states.
ContentContainer.javaClass In JIDE Action Framework, ContentContainer is the area that contains all command bars.
Contour.javaClass A Contour is a lightweight component which only paints the outline of component when dragged.
DefaultOverlayable.javaClass DefaultOverlayable is the default implementation of Overlayable using JPanel as the base component.
DefaultSelectable.javaClass The element used by CheckBoxList's ListModel.
DefaultSplitButtonModel.javaClass
DelegateAction.javaClass 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.javaClass This mouse input listener can delegate the mouse events to another mouse input listener.
DelegateMouseListener.javaClass This mouse listener can delegate the mouse events to another mouse listener.
DelegateMouseMotionListener.javaClass This mouse motion listener can delegate the mouse events to another mouse motion listener.
DragableHandle.javaInterface An interface to indicate a component can be used as a handle to be drag.
FastGradientPainter.javaClass
Flashable.javaClass Flashable is a basic interface to enable flashing in any component.
FolderChooser.javaClass 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.javaClass Gripper is a component that you can drag.
HeaderBox.javaClass HeaderBox is a special component that is used in JIDE Pivot Grid product to mimic a button with table header style.
HeavyweightWrapper.javaClass HeavyweightWrapper is a special heavyweight Panel that can hold another component.

It's package local right now.

IContour.javaInterface A Contour is a lightweight component which only paints the outline of component when dragged.
InfiniteProgressPanel.javaClass
JCellRendererPane.javaClass Copied from CellRendererPane and make it extending JComponent so that tooltips of renderer works.
JideBorderLayout.javaClass This is a modified version of BorderLayout.
JideBoxLayout.javaClass 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.javaClass JideButton is a replacement for JButton when it is used on toolbar (or command bar in the case of JIDE Action Framework).
JideCursors.javaClass 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.javaClass A special implementation of JMenu.
JidePopupMenu.javaClass 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.javaClass JideScrollPane is an enhanced version of JScrollPane.
JideScrollPaneConstants.javaInterface Constants used with the JideScrollPane component.
JideScrollPaneLayout.javaClass The layout manager used by JideScrollPane.
JideSplitButton.javaClass JideSplitButton is a combination of button and menu.
JideSplitPane.javaClass JideSplitPane is used to divide multiple Components.
JideSplitPaneDivider.javaClass Divider used by JideSplitPane.
JideSwingUtilities.javaClass A utilities class for Swing.
JideTabbedPane.javaClass JidetabbedPane is an enhanced version of JTabbedPane.
JideTitledBorder.javaClass The source code is the same as TitledBorder in JDK 1.4.2 except field TEXT_INSET_H is 0 instead of 5.
JideToggleButton.javaClass An implementation of a two-state JideButton.
JideToggleSplitButton.javaClass An implementation of a two-state JideButton.
LabeledTextField.javaClass LabeledTextField is a combo component which includes text field and an optional JLabel in the front and another optionial AbstractButton at the end.
ListSearchable.javaClass ListSearchable is an concrete implementation of Searchable that enables the search function in JList.

It's very simple to use it.

MouseInputListeners.javaClass
MultilineLabel.javaClass Normal JLabel cannot have multiple lines.
NullButton.javaClass This is part of the null-components.
NullCheckBox.javaClass This is part of the null-components.
NullJideButton.javaClass This is part of the null-components.
NullLabel.javaClass This is part of the null-components.
NullPanel.javaClass This is part of the null-components.
NullRadioButton.javaClass This is part of the null-components.
NullTristateCheckBox.javaClass This is part of the null-components.
Overlayable.javaInterface Overlayable provides a way to add a number of components on top of another component as the overlay components.
OverlayableIconsFactory.javaClass A helper class to contain icons for the overlayable components Those icons are copyrighted by JIDE Software, Inc.
OverlayableUtils.javaClass This util class has several methods related to Overlayable.
OverlayCheckBox.javaClass
OverlayComboBox.javaClass
OverlayRadioButton.javaClass
OverlayTextArea.javaClass
OverlayTextField.javaClass
PaintPanel.javaClass A panel which support Paint as background.
PartialEtchedBorder.javaClass
PartialGradientLineBorder.javaClass This is a border which allows you to have gradient line only at one side or several sides.
PartialLineBorder.javaClass This is a better version of LineBorder which allows you to show line only at one side or several sides.
PartialSide.javaInterface
PopupWindow.javaClass PopupWindow class

You can add another JPopupMenu or JComboxBox in this popup.

RangeSlider.javaClass RangeSlider is a slider that can be used to select a range.
Resizable.javaClass Resizable is a class that support resizable feature.
ResizableDialog.javaClass A resizable undecorated dialog.
ResizableFrame.javaClass A resizable undecorated frame.
ResizableMouseInputAdapter.javaClass Mouse input listenr to control the resizing of Resizable component.
ResizablePanel.javaClass ResizablePanel is a panel that can be resized.
ResizableSupport.javaInterface An interface to indicate a component support Resizable.
ResizableWindow.javaClass A resizable window.
Resource.javaClass
Searchable.javaClass JList, JTable and JTree are three data-rich components.
SearchableBar.javaClass SearchableBar is a convenient component to enable searching feature for components.
SearchableBarIconsFactory.javaClass A helper class to contain icons for SearchableBar.
SearchableProvider.javaInterface SearchableProvider is an interface that works with Searchable to provide different way to supply the searching text.
SearchableUtils.javaClass Utility class to make component searchable.
Selectable.javaInterface Selectable is an interface indicating something is selectable.
SelectAllUtils.javaClass SelectAllUtils is a utility class to select all the text in a text component when the component first time receives focus.
ShadowFactory.javaClass

A shadow factory generates a drop shadow for any given picture, respecting the transparency channel if present.

SimpleScrollPane.javaClass SimpleScrollPane is a special scroll pane.
SimpleScrollPaneLayout.javaClass The layout manager used by SimpleScrollPaneLayout.
SplitButtonGroup.javaClass SplitButtonGroup extends ButtonGroup to provide the same button grouping function for JideToggleSplitButton.
SplitButtonModel.javaInterface SplitButtonModel is for JideSplitButton.
Sticky.javaClass Sticky is a helper class to make JList or JTree changing selection when mouse moves.
StringConverter.javaInterface An interface to convert a string to anther one.
StyledLabel.javaClass StyledLabel is a special JLabel which can display text in different styles. It is a component between JLabel and JTextPane.
StyledLabelBuilder.javaClass 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.javaClass A data structure represents a style for a range of text.
TabEditingEvent.javaClass
TabEditingListener.javaInterface Defines an object which listens for TabEditingEvent.
TableSearchable.javaClass TableSearchable is an concrete implementation of Searchable that enables the search function in JTable.

It's very simple to use it.

TextComponentSearchable.javaClass TextComponentSearchable is an concrete implementation of Searchable that enables the search function in JTextComponent.

It's very simple to use it.

TopLevelMenuContainer.javaInterface 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.javaClass TreeSearchable is an concrete implementation of Searchable that enables the search function in JTree.

It's very simple to use it.

TristateCheckBox.javaClass Maintenance tip - There were some tricks to getting this code working:

1.

WeakPropertyChangeListener.javaClass 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.

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.