public class FormEditor
extends javax.swing.JPanel
Modifier and Type | Class and Description |
---|---|
(package private) class |
FormEditor.ComponentListCellRenderer |
(package private) class |
FormEditor.ComponentPaletteListModel |
(package private) class |
FormEditor.ComponentPaletteListRenderer |
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
(package private) javax.swing.JSpinner |
bottomInsetSpinner |
(package private) javax.swing.SpinnerNumberModel |
bottomInsetSpinnerModel |
(package private) javax.swing.JTextField |
colSpecField |
(package private) org.mlc.swing.layout.FormEditor.ColSpanSpinnerModel |
colSpinnerModel |
(package private) javax.swing.JButton |
columnDeleteButton |
(package private) javax.swing.JButton |
columnInsertAfterButton |
(package private) javax.swing.JButton |
columnInsertBeforeButton |
(package private) javax.swing.JLabel |
columnSpanLabel |
(package private) javax.swing.JSpinner |
columnSpanSpinner |
(package private) DndList |
componentList |
(package private) FormEditor.ComponentListCellRenderer |
componentListCellRenderer |
(package private) javax.swing.JScrollPane |
componentListScrollPane |
(package private) DndList |
componentPalette |
(package private) javax.swing.JLabel |
componentPaletteLabel |
(package private) FormEditor.ComponentPaletteListModel |
componentPaletteListModel |
(package private) javax.swing.JScrollPane |
componentPaletteScrollPane |
(package private) org.mlc.swing.layout.FormEditor.ComponentSelectionListModel |
componentSelectionListModel |
(package private) javax.swing.JLabel |
componentsLabel |
(package private) javax.swing.JPanel |
componentsPanel |
(package private) javax.swing.JSplitPane |
componentsSplitPane |
(package private) java.awt.Component |
constraintsSeparator |
(package private) javax.swing.JSplitPane |
constraintsSplitPane |
(package private) java.awt.Container |
container |
(package private) ContainerLayout |
containerLayout |
(package private) javax.swing.JPanel |
contentPanel |
(package private) javax.swing.Action |
deleteColumnAction |
(package private) javax.swing.Action |
deleteRowAction |
(package private) java.awt.Component |
formComponent |
(package private) javax.swing.JComboBox |
horizontalAlignmentCombo |
(package private) javax.swing.JLabel |
horizontalAlignmentLabel |
(package private) java.lang.String[] |
horizontalAlignmentList |
(package private) javax.swing.Action |
insertColumnAfterAction |
(package private) javax.swing.Action |
insertColumnBeforeAction |
(package private) javax.swing.Action |
insertRowAfterAction |
(package private) javax.swing.Action |
insertRowBeforeAction |
(package private) javax.swing.JLabel |
insetsLabel |
(package private) javax.swing.JPanel |
insetsPanel |
(package private) LayoutConstraintsManager |
layoutConstraintsManager |
(package private) MultiContainerFrame |
layoutFrame |
(package private) javax.swing.JSpinner |
leftInsetSpinner |
(package private) javax.swing.SpinnerNumberModel |
leftInsetSpinnerModel |
(package private) javax.swing.Action |
newComponentAction |
(package private) javax.swing.JButton |
newComponentButton |
(package private) java.util.Set<java.awt.Component> |
newComponents |
(package private) java.awt.Component |
positionsSeparator |
(package private) javax.swing.JPanel |
propertiesPanel |
(package private) javax.swing.Action |
removeComponentAction |
(package private) javax.swing.JButton |
removeComponentButton |
(package private) javax.swing.JSpinner |
rightInsetSpinner |
(package private) javax.swing.SpinnerNumberModel |
rightInsetSpinnerModel |
(package private) javax.swing.JButton |
rowDeleteButton |
(package private) javax.swing.JButton |
rowInsertAfterButton |
(package private) javax.swing.JButton |
rowInsertBeforeButton |
(package private) javax.swing.JLabel |
rowSpanLabel |
(package private) javax.swing.JSpinner |
rowSpanSpinner |
(package private) javax.swing.JTextField |
rowSpecField |
(package private) org.mlc.swing.layout.FormEditor.RowSpanSpinnerModel |
rowSpinnerModel |
(package private) boolean |
suspendConstraintControlUpdates |
(package private) DnDTable |
table |
(package private) org.mlc.swing.layout.FormEditor.GridTableModel |
tableModel |
(package private) javax.swing.JScrollPane |
tableScrollPane |
(package private) javax.swing.JToolBar |
toolbar |
(package private) java.awt.Component |
topComponent |
(package private) javax.swing.JSpinner |
topInsetSpinner |
(package private) javax.swing.SpinnerNumberModel |
topInsetSpinnerModel |
(package private) javax.swing.JComboBox |
verticalAlignmentCombo |
(package private) javax.swing.JLabel |
verticalAlignmentLabel |
(package private) java.lang.String[] |
verticalAlignmentList |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FormEditor(MultiContainerFrame layoutFrame,
ContainerLayout layout,
java.awt.Container container) |
Modifier and Type | Method and Description |
---|---|
boolean |
editComponent(ComponentDef componentDef,
java.awt.Component component,
CellConstraints cellConstraints) |
(package private) CellConstraints |
getComponentConstraints(java.awt.Component component) |
(package private) java.lang.String |
getComponentName(java.awt.Component control) |
boolean |
isNewComponent(java.awt.Component component)
Returns true if the named component was created by hand in this session
|
(package private) void |
setContainer(java.awt.Container container) |
void |
setFormComponent(java.awt.Component component) |
java.lang.String |
uniqueName(java.lang.String name,
java.awt.Component comp) |
void |
updateLayout(java.awt.Component component) |
(package private) void |
updateLayouts() |
void |
updateList() |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
java.lang.String[] verticalAlignmentList
java.lang.String[] horizontalAlignmentList
org.mlc.swing.layout.FormEditor.ColSpanSpinnerModel colSpinnerModel
org.mlc.swing.layout.FormEditor.RowSpanSpinnerModel rowSpinnerModel
javax.swing.Action newComponentAction
javax.swing.Action removeComponentAction
javax.swing.Action insertRowBeforeAction
javax.swing.Action insertRowAfterAction
javax.swing.Action deleteRowAction
javax.swing.Action insertColumnBeforeAction
javax.swing.Action insertColumnAfterAction
javax.swing.Action deleteColumnAction
javax.swing.JComboBox verticalAlignmentCombo
javax.swing.JComboBox horizontalAlignmentCombo
javax.swing.JSpinner rowSpanSpinner
javax.swing.JSpinner columnSpanSpinner
javax.swing.JLabel columnSpanLabel
javax.swing.JLabel horizontalAlignmentLabel
javax.swing.JLabel rowSpanLabel
javax.swing.JLabel verticalAlignmentLabel
javax.swing.JPanel contentPanel
javax.swing.JPanel insetsPanel
javax.swing.SpinnerNumberModel rightInsetSpinnerModel
javax.swing.SpinnerNumberModel topInsetSpinnerModel
javax.swing.SpinnerNumberModel bottomInsetSpinnerModel
javax.swing.SpinnerNumberModel leftInsetSpinnerModel
javax.swing.JSpinner rightInsetSpinner
javax.swing.JSpinner bottomInsetSpinner
javax.swing.JSpinner leftInsetSpinner
javax.swing.JSpinner topInsetSpinner
org.mlc.swing.layout.FormEditor.GridTableModel tableModel
javax.swing.JLabel insetsLabel
javax.swing.JLabel componentsLabel
javax.swing.JLabel componentPaletteLabel
FormEditor.ComponentPaletteListModel componentPaletteListModel
DndList componentPalette
javax.swing.JScrollPane componentPaletteScrollPane
org.mlc.swing.layout.FormEditor.ComponentSelectionListModel componentSelectionListModel
DndList componentList
javax.swing.JScrollPane componentListScrollPane
FormEditor.ComponentListCellRenderer componentListCellRenderer
java.awt.Component constraintsSeparator
java.awt.Component positionsSeparator
javax.swing.JPanel componentsPanel
javax.swing.JPanel propertiesPanel
javax.swing.JSplitPane componentsSplitPane
javax.swing.JTextField colSpecField
javax.swing.JTextField rowSpecField
java.util.Set<java.awt.Component> newComponents
LayoutConstraintsManager layoutConstraintsManager
javax.swing.JToolBar toolbar
javax.swing.JButton newComponentButton
javax.swing.JButton removeComponentButton
javax.swing.JButton columnDeleteButton
javax.swing.JButton columnInsertAfterButton
javax.swing.JButton columnInsertBeforeButton
javax.swing.JButton rowDeleteButton
javax.swing.JButton rowInsertBeforeButton
javax.swing.JButton rowInsertAfterButton
java.awt.Container container
ContainerLayout containerLayout
MultiContainerFrame layoutFrame
DnDTable table
javax.swing.JScrollPane tableScrollPane
javax.swing.JSplitPane constraintsSplitPane
java.awt.Component topComponent
boolean suspendConstraintControlUpdates
java.awt.Component formComponent
public FormEditor(MultiContainerFrame layoutFrame, ContainerLayout layout, java.awt.Container container)
void setContainer(java.awt.Container container)
java.lang.String getComponentName(java.awt.Component control)
CellConstraints getComponentConstraints(java.awt.Component component)
void updateLayouts()
public void setFormComponent(java.awt.Component component)
public void updateLayout(java.awt.Component component)
public boolean isNewComponent(java.awt.Component component)
public void updateList()
public java.lang.String uniqueName(java.lang.String name, java.awt.Component comp)
public boolean editComponent(ComponentDef componentDef, java.awt.Component component, CellConstraints cellConstraints)