Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
A
add
- Variable in class org.mlc.swing.layout.
ComponentDef
addCellConstraints(String, CellConstraints)
- Method in class org.mlc.swing.layout.
ContainerLayout
addColumnSpec(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
addColumnSpec(int, String)
- Method in class org.mlc.swing.layout.
ContainerLayout
addComponent(String, ComponentDef, CellConstraints)
- Method in class org.mlc.swing.layout.
ContainerLayout
addContainer(String, Container)
- Method in class org.mlc.swing.layout.
LayoutFrame
This is for adding containers on the fly.
addLayout(ContainerLayout)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
addLayoutComponent(String, Component)
- Method in class org.mlc.swing.layout.
ContainerLayout
addLayoutComponent(Component, Object)
- Method in class org.mlc.swing.layout.
ContainerLayout
addRowSpec(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
addRowSpec(int, String)
- Method in class org.mlc.swing.layout.
ContainerLayout
B
BeanProperty
- Class in
org.mlc.swing.layout
This represents a property in the ComponentBuilder.
BeanProperty(String, Class, List<Object>)
- Constructor for class org.mlc.swing.layout.
BeanProperty
Creates a new instance of BeanProperty
BeanProperty(String, Class)
- Constructor for class org.mlc.swing.layout.
BeanProperty
BOTTOM
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
ButtonBarComponentBuilder
- Class in
org.mlc.swing.layout
This is the component builder for the JGoodies ButtonBar.
ButtonBarComponentBuilder()
- Constructor for class org.mlc.swing.layout.
ButtonBarComponentBuilder
Creates a new instance of ButtonBarComponentBuilder
C
CENTER
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
clone()
- Method in class org.mlc.swing.layout.
ComponentDef
When dragging from the palette we need a clone rather than modify the original.
compareTo(Object)
- Method in class org.mlc.swing.layout.
ComponentDef
Make it sortable on name so the palette is ordered.
ComponentBuilder
- Interface in
org.mlc.swing.layout
All components that want to be included in the list of components that want to be part of the builder must implement this interface
ComponentDef
- Class in
org.mlc.swing.layout
A container class for all the definition data about a Component.
ComponentDef()
- Constructor for class org.mlc.swing.layout.
ComponentDef
ComponentDef(Node)
- Constructor for class org.mlc.swing.layout.
ComponentDef
ComponentDef(String, String, String, String)
- Constructor for class org.mlc.swing.layout.
ComponentDef
configure
- Variable in class org.mlc.swing.layout.
ComponentDef
constraintsChanged(String, CellConstraints)
- Method in class org.mlc.swing.layout.
ContainerLayout
ContainerLayout
- Class in
org.mlc.swing.layout
This class acts as a surogate layout manager for the JGoodies (www.jgoodies.com) FormLayout manager.
ContainerLayout(String, String, String)
- Constructor for class org.mlc.swing.layout.
ContainerLayout
createComponentDefs()
- Static method in class org.mlc.swing.layout.
ComponentDef
Creates a new instance of Component Palette.
createLayout(String, Container)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
This method creates a layout by first trying to look in memory to see if a layout has been defined with the given name.
CustomerPanel
- Class in
org.mlc.swing.example
CustomerPanel()
- Constructor for class org.mlc.swing.example.
CustomerPanel
D
deactivate(boolean)
- Method in class org.mlc.swing.layout.
FormDebugPanel
declarations
- Variable in class org.mlc.swing.layout.
ComponentDef
DEFAULT
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
DefaultComponentBuilder
- Class in
org.mlc.swing.layout
This is meant to be subclassed when you want to create a ComponentBuilder that has simplistic behavior.
DefaultComponentBuilder(Class)
- Constructor for class org.mlc.swing.layout.
DefaultComponentBuilder
Creates a new instance of DefaultComponentFactory
DefaultComponentBuilder(Class, String[])
- Constructor for class org.mlc.swing.layout.
DefaultComponentBuilder
Creates a new instance of DefaultComponentFactory
dframe
- Variable in class org.mlc.swing.layout.
LayoutFrame
doDialog(JFrame, ComponentDef)
- Static method in class org.mlc.swing.layout.
NewComponentDialog
Creates and displays a dialog for defining a new component's settings.
E
editComponent(ComponentDef, Component, CellConstraints)
- Method in class org.mlc.swing.layout.
FormEditor
editComponentDef(ComponentDef)
- Method in class org.mlc.swing.layout.
NewComponentDialog
editDialog(JFrame, ComponentDef)
- Static method in class org.mlc.swing.layout.
NewComponentDialog
Creates and displays a dialog for editing a component's settings.
enableDebugPreview(boolean)
- Method in class org.mlc.swing.layout.
LayoutFrame
Activate "debug" version of preview frame.
ExamplePanel
- Class in
org.mlc.swing.example
ExamplePanel()
- Constructor for class org.mlc.swing.example.
ExamplePanel
exitApplication()
- Method in class org.mlc.swing.layout.
LayoutFrame
F
FILL
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
FormDebugPanel
- Class in
org.mlc.swing.layout
[Taken from the FormLayout codebase.
FormDebugPanel()
- Constructor for class org.mlc.swing.layout.
FormDebugPanel
Constructs a FormDebugPanel with all options turned off.
FormDebugPanel(FormLayout)
- Constructor for class org.mlc.swing.layout.
FormDebugPanel
Constructs a FormDebugPanel on the given FormLayout instance that paints the grid in the foreground and paints no diagonals.
FormDebugPanel(boolean, boolean)
- Constructor for class org.mlc.swing.layout.
FormDebugPanel
Constructs a FormDebugPanel on the given FormLayout using the specified settings that are otherwise turned off.
FormDebugPanel(FormLayout, boolean, boolean)
- Constructor for class org.mlc.swing.layout.
FormDebugPanel
Constructs a FormDebugPanel on the given FormLayout using the specified settings that are otherwise turned off.
FormEditor
- Class in
org.mlc.swing.layout
This is the main panel that is used in LayoutFrame serving as the user interface for the builder.
FormEditor(LayoutFrame, ContainerLayout, Container)
- Constructor for class org.mlc.swing.layout.
FormEditor
G
getAdd(String)
- Method in class org.mlc.swing.layout.
ComponentDef
getAdd()
- Method in class org.mlc.swing.layout.
NewComponentDialog
getAlignment(CellConstraints.Alignment)
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
Translates an alignment value to a string.
getAlignment(String)
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
Translates a string to an alignment value.
getCellConstraints()
- Method in class org.mlc.swing.layout.
ContainerLayout
getCellConstraints(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
getColumnCount()
- Method in class org.mlc.swing.layout.
ContainerLayout
getColumnSpec(int)
- Method in class org.mlc.swing.layout.
ContainerLayout
getColumnSpecs()
- Method in class org.mlc.swing.layout.
ContainerLayout
getColumnSpecsString()
- Method in class org.mlc.swing.layout.
ContainerLayout
getComponentByName(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
Returns the component with the given name or null if not found
getComponentConstraints(Component)
- Method in class org.mlc.swing.layout.
ContainerLayout
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in interface org.mlc.swing.layout.
ComponentBuilder
getComponentDef(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JListComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
getComponentDef(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
getComponentName(Component)
- Method in class org.mlc.swing.layout.
ContainerLayout
getComponentName()
- Method in class org.mlc.swing.layout.
NewComponentDialog
Get the component's name
getComponentsToNames()
- Method in class org.mlc.swing.layout.
ContainerLayout
getConfiguration()
- Method in class org.mlc.swing.layout.
NewComponentDialog
Get the component's
section.
getConfigure(String)
- Method in class org.mlc.swing.layout.
ComponentDef
getContainer(ContainerLayout)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
getContainerLayout(String)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
getCustomProperties(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
Returns custom properties for the component.
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in interface org.mlc.swing.layout.
ComponentBuilder
Returns the appropriate declaration suitable for this component
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JListComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
getDeclaration(String, Map<String, Object>)
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
getDeclarations(String)
- Method in class org.mlc.swing.layout.
ComponentDef
getDeclarations()
- Method in class org.mlc.swing.layout.
NewComponentDialog
Get the component's
section.
getDescription()
- Method in class org.mlc.swing.layout.
ComponentDef
getImports(String)
- Method in class org.mlc.swing.layout.
ComponentDef
getImports()
- Method in class org.mlc.swing.layout.
NewComponentDialog
Get the component's
section.
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
getInstance(Map<String, Object>)
- Method in interface org.mlc.swing.layout.
ComponentBuilder
Returns an instance of this object given the specified properties
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
JListComponentBuilder
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
getInstance()
- Method in class org.mlc.swing.layout.
NewComponentDialog
Get an instance of the specified component.
getInstance(Map<String, Object>)
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
getLayoutAlignmentX(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
getLayoutAlignmentY(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
getLayoutConstraintsManager(InputStream)
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
Returns a LayoutConstraintsManager based on an input stream for an xml file.
getLayoutConstraintsManager(Node)
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
Returns a layout constraints manager given a containers node.
getLayoutInfo(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
getLayouts()
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
getName()
- Method in class org.mlc.swing.layout.
BeanProperty
Returns the value of the name property
getName()
- Method in class org.mlc.swing.layout.
ContainerLayout
Returns the value of the name property
getPrefs()
- Static method in class org.mlc.swing.layout.
UserPrefs
Access the singleton instance.
getProperties()
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
getProperties()
- Method in interface org.mlc.swing.layout.
ComponentBuilder
Returns a list of properties that are appropriate for construction
getProperties()
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
getProperties()
- Method in class org.mlc.swing.layout.
JListComponentBuilder
getProperties()
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
getProperties()
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
getProperties()
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
getProperties()
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
getRowCount()
- Method in class org.mlc.swing.layout.
ContainerLayout
getRowSpec(int)
- Method in class org.mlc.swing.layout.
ContainerLayout
getRowSpecs()
- Method in class org.mlc.swing.layout.
ContainerLayout
getRowSpecsString()
- Method in class org.mlc.swing.layout.
ContainerLayout
getTransferData(DataFlavor)
- Method in class org.mlc.swing.layout.
TransferableWrapper
getTransferDataFlavors()
- Method in class org.mlc.swing.layout.
TransferableWrapper
getType()
- Method in class org.mlc.swing.layout.
BeanProperty
Returns the value of the type property
getXML()
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
Get an XML representation of the FormLayout constraints for all containers in this manager.
H
hasContainer(String)
- Method in class org.mlc.swing.layout.
LayoutFrame
I
icon
- Variable in class org.mlc.swing.layout.
ComponentDef
iconClass
- Variable in class org.mlc.swing.layout.
ComponentDef
imports
- Variable in class org.mlc.swing.layout.
ComponentDef
invalidateLayout(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
isComponentALayoutContainer()
- Method in interface org.mlc.swing.layout.
ComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
JListComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
isComponentALayoutContainer()
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
isContainer
- Variable in class org.mlc.swing.layout.
ComponentDef
isDataFlavorSupported(DataFlavor)
- Method in class org.mlc.swing.layout.
TransferableWrapper
isNewComponent(Component)
- Method in class org.mlc.swing.layout.
FormEditor
Returns true if the named component was created by hand in this session
isTextComponent(Component)
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
J
JListComponentBuilder
- Class in
org.mlc.swing.layout
This is the ComponentBuilder used to build JLists.
JListComponentBuilder()
- Constructor for class org.mlc.swing.layout.
JListComponentBuilder
JTableComponentBuilder
- Class in
org.mlc.swing.layout
This is the ComponentBuilder used to build JTables.
JTableComponentBuilder()
- Constructor for class org.mlc.swing.layout.
JTableComponentBuilder
JToolBarComponentBuilder
- Class in
org.mlc.swing.layout
This is the ComponentBuilder that is used to build JToolBars.
JToolBarComponentBuilder()
- Constructor for class org.mlc.swing.layout.
JToolBarComponentBuilder
Creates a new instance of SeparatorComponentBuilder
JTreeComponentBuilder
- Class in
org.mlc.swing.layout
This is the ComponentBuilder used to build JTrees!
JTreeComponentBuilder()
- Constructor for class org.mlc.swing.layout.
JTreeComponentBuilder
Creates a new instance of SeparatorComponentBuilder
L
LayoutConstraintsManager
- Class in
org.mlc.swing.layout
This class handles the serialization and deserialization of the xml files that we are using to store the layout constraints.
LayoutConstraintsManager()
- Constructor for class org.mlc.swing.layout.
LayoutConstraintsManager
This method will create a LayoutConstraintsManager with default JGoodies row and column specs that are common in applications.
LayoutConstraintsManager(String, String)
- Constructor for class org.mlc.swing.layout.
LayoutConstraintsManager
This method will create a LayoutConstraintsManager with the JGoodies specs provided as default
layoutContainer(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
LayoutFrame
- Class in
org.mlc.swing.layout
This is the frame that enables you to build a layout.
LayoutFrame(LayoutConstraintsManager)
- Constructor for class org.mlc.swing.layout.
LayoutFrame
Creates a new instance of Class
LEFT
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
M
main(String[])
- Static method in class org.mlc.swing.example.
CustomerPanel
main(String[])
- Static method in class org.mlc.swing.example.
ExamplePanel
main(String[])
- Static method in class org.mlc.swing.layout.
ComponentDef
main(String[])
- Static method in class org.mlc.swing.layout.
ContainerLayout
main(String[])
- Static method in class org.mlc.swing.layout.
LayoutConstraintsManager
main(String[])
- Static method in class org.mlc.swing.layout.
LayoutFrame
main(String[])
- Static method in class org.mlc.swing.layout.
NewComponentDialog
Unit testing.
maximumLayoutSize(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
minimumLayoutSize(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
N
name
- Variable in class org.mlc.swing.layout.
ComponentDef
NewComponentDialog
- Class in
org.mlc.swing.layout
When performing drag-and-drop from the component palette to the table, this class is used to define or edit a component's settings.
NewComponentDialog(Window)
- Constructor for class org.mlc.swing.layout.
NewComponentDialog
Creates a new instance of NewComponentDialog
O
org.mlc.swing.example
- package org.mlc.swing.example
org.mlc.swing.layout
- package org.mlc.swing.layout
P
paint(Graphics)
- Method in class org.mlc.swing.layout.
FormDebugPanel
Paints the panel.
paintComponent(Graphics)
- Method in class org.mlc.swing.layout.
FormDebugPanel
Paints the component and - if background painting is enabled - the grid
preferredLayoutSize(Container)
- Method in class org.mlc.swing.layout.
ContainerLayout
preview
- Variable in class org.mlc.swing.layout.
ComponentDef
R
remove
- Variable in class org.mlc.swing.layout.
ComponentDef
removeCellConstraints(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
removeColumnSpec(int)
- Method in class org.mlc.swing.layout.
ContainerLayout
removeContainer(String)
- Method in class org.mlc.swing.layout.
LayoutFrame
removeLayout(ContainerLayout)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
removeLayoutComponent(Component)
- Method in class org.mlc.swing.layout.
ContainerLayout
removeRowSpec(int)
- Method in class org.mlc.swing.layout.
ContainerLayout
RIGHT
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
S
saveDebugState(boolean)
- Method in class org.mlc.swing.layout.
UserPrefs
Save the current state of the panel - debug on/off.
saveWinLoc(String, Window)
- Method in class org.mlc.swing.layout.
UserPrefs
Save a window's size and position data under the provided name.
SeparatorComponentBuilder
- Class in
org.mlc.swing.layout
This is the component builder for the JGoodies Separator.
SeparatorComponentBuilder()
- Constructor for class org.mlc.swing.layout.
SeparatorComponentBuilder
Creates a new instance of SeparatorComponentBuilder
setCellConstraints(String, CellConstraints)
- Method in class org.mlc.swing.layout.
ContainerLayout
setColumnSpec(int, String)
- Method in class org.mlc.swing.layout.
ContainerLayout
setComponentDef(ComponentDef)
- Method in class org.mlc.swing.layout.
NewComponentDialog
setComponentName(String)
- Method in class org.mlc.swing.layout.
NewComponentDialog
setFormComponent(Component)
- Method in class org.mlc.swing.layout.
FormEditor
setGridColor(Color)
- Method in class org.mlc.swing.layout.
FormDebugPanel
Sets the debug grid's color.
setLayout(String, Container)
- Method in class org.mlc.swing.layout.
LayoutConstraintsManager
This method will build a layout from the xml file based on the name and call setLayout on the container passed in.
setName(String)
- Method in class org.mlc.swing.layout.
BeanProperty
Registers the value of the name property
setName(String)
- Method in class org.mlc.swing.layout.
ContainerLayout
Registers the value of the name property
setPaintDiagonals(boolean)
- Method in class org.mlc.swing.layout.
FormDebugPanel
Enables or disables to paint the panel's diagonals.
setPaintInBackground(boolean)
- Method in class org.mlc.swing.layout.
FormDebugPanel
Specifies to paint in background or foreground.
setProperty(String, String, Object)
- Method in class org.mlc.swing.layout.
ContainerLayout
Set a user defined property for this component so that the tool can manage the properties of the component thus reducing the burden on the user
setRemove(String)
- Method in class org.mlc.swing.layout.
NewComponentDialog
setRowSpec(int, String)
- Method in class org.mlc.swing.layout.
ContainerLayout
setType(Class)
- Method in class org.mlc.swing.layout.
BeanProperty
Registers the value of the type property
showDebugPanel()
- Method in class org.mlc.swing.layout.
UserPrefs
Should we show the debug panel?
succeeded()
- Method in class org.mlc.swing.layout.
NewComponentDialog
T
TOP
- Static variable in class org.mlc.swing.layout.
LayoutConstraintsManager
toString()
- Method in class org.mlc.swing.layout.
ButtonBarComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
DefaultComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
JListComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
JTableComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
JToolBarComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
JTreeComponentBuilder
toString()
- Method in class org.mlc.swing.layout.
SeparatorComponentBuilder
TransferableWrapper
- Class in
org.mlc.swing.layout
TransferableWrapper(Object)
- Constructor for class org.mlc.swing.layout.
TransferableWrapper
U
uniqueName(String, Component)
- Method in class org.mlc.swing.layout.
FormEditor
updateLayout(Component)
- Method in class org.mlc.swing.layout.
FormEditor
updateList()
- Method in class org.mlc.swing.layout.
FormEditor
UserPrefs
- Class in
org.mlc.swing.layout
This is a singleton container for handling user preferences.
useSavedBounds(String, Window)
- Method in class org.mlc.swing.layout.
UserPrefs
Fetch a window's size and position data and apply it.
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes