Getting Started

JideBuilder will let you create Jide components and standard Swing components as SwingBuilder does, because it doesn't override the default names of previosuly registered components in SwingBuilder, this means that you can mix both types of components with the same builder.

There are 5 *Searchable components that will add searching capabilities to a previously created widget or an internal one, and at the same time will expose the wrapped widget if an 'id' attribute was provided, for example ComboBoxSearchable:

JIDE Common Layer defines a basic structure for dialogs with StandardDialog, which is an abstract class, you may create your own dialogs based on that template by calling 'standardDialog()', by default all 3 panels will be empty, but yout can provide your own content by calling 'dialogBannerPanel()', 'dialogContentPanel()' and 'dialogButtonPanel()' inside its closure.

Albafetical List

ElementClassNotes
animatorAnimator
autoCompletionAutoCompletionWraps an existing JComboBox with 'comboBox' attribute

Wraps an existing JTextComponent with 'textComponent' attribute

Will create an internal JTextField if 'textComponent' and 'comboBox' are ommitted

If 'textComponent' is specified (or internal JTextField is created), 'searchable' or 'list'

must also be specified

Additional attributes may be set on the wrapped component
autoCompletionComboBoxAutoCompletionComboBox
autoResizingTextAreaAutoResizingTextArea
bannerPanelBannerPanel
bottom - JideSwingUtilities.createBottomPanel
buttonPanelButtonPanel
calculatorCalculator
center - JideSwingUtilities.createCenterPanel
checkBoxListCheckBoxList
checkBoxListWithSelectableCheckBoxListWithSelectable
checkBoxTreeCheckBoxTree
clickThroughLabelClickThroughLabel
comboBoxSearchableComboBoxSearchableWraps an existing JComboBox with 'comboBox' attribute

Will create an internal JComboBox if 'comboBox' is ommitted

Additional attributes may be set on the wrapped component

Obeys 'items' when creating an internal JComboBox.
contentContainerContentContainer
dateSpinnerDateSpinner
dialogBannerPanelDialogBannerPanel (from JideBuilder)Use it inside standardDialog
dialogButtonPanelDialogButtonPanel (from JideBuilder)Use it inside standardDialog
dialogContentPanelDialogContentPanel (from JideBuilder)Use it inside standardDialog
dialogPageDefaultDialogPage (from JideBuilder)Use it inside a multiplePageDialog

Add a 'closure' attribute as the body of lazyInitialize() default does nothing
fileIntelliHintsFileIntelliHintsNeeds 'textComponent' attribute

Additional attributes may be set on the wrapped component
folderChooserFolderChooser
gripperGripper
headerBoxHeaderBox
jideButtonJideButton
jideBorderLayoutJideBorderLayout
jideBoxLayoutJideBoxLayout
jideMenuJideMenuUse a closure with 'customize' attribute to create a PopupMenuConfigurer
jideOptionPaneJideOptionPane
jidePopupJidePopup
jidePopupMenuJidePopupMenu
jideScrollPaneJideScrollPane
jideSplitButtonJideSplitButtonUse a closure with 'customize' attribute to create a PopupMenuConfigurer
jideSplitPaneJideSplitPane
jideTabbedPaneJideTabbedPane
jideToggleButtonJideToggleButton
jideToggleSplitButtonJideToggleSplitButtonUse a closure with 'customize' attribute to create a PopupMenuConfigurer
labeledTextFieldLabeledTextField
left - JideSwingUtilities.createLeftPanel
listDataIntelliHintsListDataIntelliHintsNeeds 'textComponent' and 'completionList' attributes,

Additional attributes may be set on the wrapped component
listSearchableListSearchableWraps an existing JList with 'list' attribute

Will create an internal JList if 'list' is ommitted

Additional attributes may be set on the wrapped component
multilineLabelMultilineLabel
multiplePageDialogMultiplePageDialog
multiplePageDialogPaneMultiplePageDialogPane
nullButtonNullButton
nullCheckBoxNullCheckBox
nullJideButtonNullJideButton
nullLabelNullLabel
nullPanelNullPanel
nullRadioButtonNullRadioButton
nullTristateCheckBoxNullTristateCheckBox
paintPanelPaintPanel
pointSpinnerPointSpinner
popupMenuCustomizerDefaultPopupMenuCustomizer (from JideBuilder)Use 'closure' attribute to define the body of customize()
rangeSliderRangeSlider
resizableDialogResizableDialog
resizableFrameResizableFrame
resizablePanelResizablePanel
resizableWindowResizableWindow
right - JideSwingUtilities.createRightPanel
searchableBarSearchableBarWraps an existing Searchable with 'searchable' attribute

Additional attributes may be set on the wrapped component
simpleScrollPaneSimpleScrollPane
splitButtonGroupSplitButtonGroup
standardDialogDefaultStandardDialog (from JideBuilder)Use 'dialogBannerPanel, 'dialodContentPanel' and 'dialogButtonPanel'

to provide additional configuration for each panel
styledLabelStyledLabel
tableSearchableTableSearchableWraps an existing JTable with 'table' attribute

Will create an internal JTable if 'table' is ommitted

Additional attributes may be set on the wrapped component
textComponentSearchableTextComponentSearchableWraps an existing JTextComponent with 'textComponent' attribute

Will create an internal JTextField if 'textComponent' is ommitted

Additional attributes may be set on the wrapped component
top - JideSwingUtilities.createTopPanel
treeSearchableTreeSearchableWraps an existing JTree with 'tree' attribute

Will create an internal JTree if 'tree' is ommitted

Additional attributes may be set on the wrapped component
tristateCheckBoxTristateCheckBox

Albafetical List (Non JIDE components)

ElementClassNotes
svgIconResizableSVGIconAdditional properties:
  • path: same as svgResourcePath but allows aliases
  • trackSize: enables/disables resizing (default: false)
  • resizePercentage: controls how much the icon will change size, value must be in range 10..100 (default: 100)
  • retainAspectRatio: controls how resizing will take effect (default: true)
  • size: alias for 'preferredSize'

Extras

  • All JTextComponents (even those created with regular SwingBuilder methods) will accept a 'selectAll' property, which will call com.jidesoft.swing.SelectAllUtils.install() on the component.
  • SearchableBar has an additional property 'install' which will register a SearchableBar.Installer automatically into the inmediate container. This property must be a Map and may have the following properties:
    • constraints: must be a valid Object accepted by the container's layout [required].
    • keyStroke: must be a javax.swing.KeyStroke, defaults to CTRL + F [optional].