没有合适的资源?快使用搜索试试~ 我知道了~
JIDE_Common_Layer_Developer_Guide
![star](https://csdnimg.cn/release/downloadcmsfe/public/img/star.98a08eaa.png)
温馨提示
![preview](https://dl-preview.csdnimg.cn/927277/0001-20424d831d110b11d027eb7abfbdcad0_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
49页
Swing扩展组件JIDE的使用说明,详细Demo可访问其官网http://www.jidesoft.com/
资源推荐
资源详情
资源评论
![application/octet-stream](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/release/download_crawler_static/927277/bg1.jpg)
JIDE Common Layer Developer Guide
(Open Source Project)
Purpose of This Document
Welcome to the JIDE Common Layer. This module was the foundation for all JIDE
commercial products. It was delivered as jide-common.jar in all former releases. In April of 2007,
JIDE Software open sourced the module under GPL+classpath exception, hoping more and more
people will join the project and push it to the next level.
In addition to GPL, JIDE Common Layer is dual-licensed. Commercial companies who need to
build proprietary software can use the same commercial license under which all other JIDE
products are released. Except for JIDE Common Layer, the commercial license is free of charge.
This developer guide is for those who want to develop applications using the JIDE Common
Layer and for those who want to contribute to this project.
Why Swing Components
Thousands and thousands of valuable development hours are wasted on rebuilding
components that have been built elsewhere. Why not let us build those components for you, so
you can focus on the most value-added part of your application?
What kind of components do we build and how do we choose them?
First of all, those components that are commonly used. Our components provide a
foundation to build any Java desktop application. You’ve probably seen them in some other
well-known applications. People are familiar with them. When you see them in our component
demo, most likely you will say “Hmm, I can use this component in my application”.
Secondly, they are extensible: we never assume our components will satisfy all your
requirements. Therefore, in addition, to what we provide, we always leave extension points so
that you can write your own code to extend the component. Believe it or not, our whole
product strategy is based on the extensibility of each component we are building. We try to
cover all the requirements we can find and to build truly general, useful components. At some
point, users will likely find a need we didn’t address, but that’s fine! Our components allow you
to “help yourselves”.
Last, but not least, they will save the end user time. You use a 3
rd
party component because
you think it will be faster to build on top of it than to start from scratch. If the 3
rd
party
component is very simple, you probably rather building it yourself so that you have full control
of the code. If you find the 3
rd
party component is way too complex and way too hard to
configure, you probably also want to build it yourself to avoid the hassle of understanding other
people’s code. With those in mind, we carefully chose what components to include in our
products. We are very “picky” about what components to build. Our pickiness guaranteed that
all those components will be useful thus save your valuable time.
![](https://csdnimg.cn/release/download_crawler_static/927277/bg2.jpg)
COPYRIGHT © 2002-2008 JIDE SOFTWARE. ALL RIGHTS RESERVED
2
All components in this JIDE Common Layer are general components built on top of Swing.
We built them mainly because we found they are missing from Swing. Many of the components
simply extend an existing Swing classes to add more features. They probably should be included
in Swing anyway. Thousands of engineers developing various applications had used all
components from this project commercially. They are already in production quality when they
are included in this open source project.
Why do we open source
JIDE Software was founded back in 2002. Within four years, JIDE became a well-known
Swing component provider. We used commercial license term for our products from the very
beginning. It was essential for us because it provides the financial support that we needed as a
start-up. On the other hand, being commercial is no question a roadblock for many developers
who either cannot afford or are prohibited to use the commercial license. In the past couple of
years, we saw many emails, blogs and forum posts suggesting us to open source our products. It
is the time now.
In this release, we will open source over 30 components, which is about 1/3 of our source
code (roughly 100K lines out of 300k+ lines). We will have dedicated people to maintain this
project to fix bugs and add enhancements. We will also add more components or move
components from our commercial offerings to this project. Of course, we welcome people to
contribute this project. The source code can be downloaded from http://jide-oss.dev.java.net.
One of main issues in open source project is the lack of technical support. To address this
issue, here is our support policy:
All source code contains detailed JavaDoc.
A developer guide is provided to describe how to use each component.
For bug reports, we will have dedicated resource to work on them based on the priority
we decide.
For technical support, there are two ways. The first way is the community support. We
will provide a forum so that you can get help from other people in the community. The
second way is the paid technical support provided by JIDE support team. That is, if you
think it is critical to get the high quality support in a timely fashion, you can always
purchase the annual maintenance renewal for JIDE Common Layer.
Open source JIDE Common Layer does not mean we will open source all our other
components. We still believe high quality software deserves license fee. The open source
community would not have existed without the participation of millions of professional
developers whose salaries are paid by commercial companies. Therefore, we will continue to
market our other products commercially and use part of the license revenue to sponsor this
open source project.
![](https://csdnimg.cn/release/download_crawler_static/927277/bg3.jpg)
COPYRIGHT © 2002-2008 JIDE SOFTWARE. ALL RIGHTS RESERVED
3
Source Code Structure
The table below lists the packages in the JIDE Common Layer. All packages are in jide-oss-
<version>.jar.
Packages
Description
com.jidesoft.swing
Common components.
com.jidesoft.icon
Icon related classes
com.jidesoft.comparator
Various Comparators. They all implement interface
java.util.Comparator. ObjectComparatorManager provides
a central place to register those comparators.
com.jidesoft.converter
Various ObjectConverters which can convert an object
to/from String. ObjectConverterManager provides a central
place to register those converters.
com.jidesoft.grouper
Various ObjectGroupers which can group several values
into a named group. ObjectGrouperManager provides a
central place to register those groupers.
com.jidesoft.popup
Popup component
com.jidesoft.animation
Animation related classes
com.jidesoft.hints
IntelliHints related classes
A general comment on our naming convention: If the class is modified from or based on an
existing Swing/AWT class, we prefix the original Swing/AWT class name with Jide - for example,
JideTabbedPane (you can tell that it is based on JTabbedPane from the name). If it’s a
completely new component that doesn’t exist in Swing/AWT then we don’t prefix anything - for
example, Calculator etc.
We will add more and more components to JIDE Common Layer in the future and we will
keep the same package organization. If the component is complex enough or there are a group
of components which share a common feature, there will be a separate package for it. If it is a
very small component, we probably will put it under com.jidesoft.swing.
List of Components
Enhanced Swing Components or Classes
JideButton: built on top of JButton with its ComponentUI. Best used on JToolBar or
CommandBar
1
1
Part of in JIDE Action Framework.
![](https://csdnimg.cn/release/download_crawler_static/927277/bg4.jpg)
COPYRIGHT © 2002-2008 JIDE SOFTWARE. ALL RIGHTS RESERVED
4
JidePopupMenu: built on top of JPopupMenu. It will make sure the content of the
popup menu to be inside the screen boundary. If the popup menu is very long, it will
add scroll button to the top and bottom so that user can scroll it up and down.
JideMenu: built on top of JMenu to allow lazily creation of menu items and to allow
specifying the popup menu’s alignment.
PartialLineBorder: built on top of LineBorder to only paint lines on certain sides.
PartialEtchedBorder: built on top of EtchedBorder to only paint etched lines on certain
sides.
JideScrollPane: built on top of JScrollPane to support RowFooter, ColumnFooter as well
as new corner components on either side of the scroll bars.
SimpleScrollPane: built on top of JScrollPane to use four scroll buttons to do the
scrolling. It has no scroll bar.
JideSplitPane: A split pane that supports multiple split.
JideTabbedPane: built on top of JTabbedPane to support many different tab styles, tab
resize mode, tab leading component, tab trailing component etc.
JideBoxLayout: similar to BoxLayout but can support three different constraints to give
child component different resize weight.
JideBorderLayout: built on top of BorderLayout just to make the north and south
component the same width as center component.
AutoResizingTextArea: A JTextArea which resizes vertically when there are more text in
it.
LabeledTextField: A JTextField which supports JLabel in front of it.
MultilineLabel: A JTextArea that looks JLabel but supports multiple lines.
RangeSlider: A JSlider that supports two thumbs to specify a range.
StyledLabel: built on top of JLabel to support different styles on the text.
TristateCheckBox: a check box that has three states.
StandardDialog: built on top of JDialog to support common used dialog standards.
New Components
JidePopup: support any popup window.
ButtonPanel: support a panel for buttons in an OS-aware way.
CheckBoxList/CheckBoxTree: A JList/JTree supports check box in the row/tree node.
Calculator: a component for calculator.
FolderChooser: a component for choosing folder.
![](https://csdnimg.cn/release/download_crawler_static/927277/bg5.jpg)
COPYRIGHT © 2002-2008 JIDE SOFTWARE. ALL RIGHTS RESERVED
5
Usability enhancement
AutoCompletion (JComboBox, JTextComponent)
Resizable (ResizablePanel, ResizableWindow)
Searchable (ComboBox, List, Table, TextComponent etc)
SearchableBar: A searching component similar to Firebox searching bar. Built on top of
Searchable.
IntelliHints: provides dynamic hints to help user typing. It could be considered as an
enhancd version of AutoCompletion. A typical use case for it is IntelliSense in editors of
most IDEs.
Overlayable: provides putting an overlay component on top of another component to
display useful information such as validation error, process indicator etc.
Utilities
SelectAllUtils
Sticky
ColorUtils
剩余48页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
- mdlxx372013-03-15Swing扩展组件JIDE的使用说明不错,很好
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
maplewindy
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)