|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel ix.iface.ui.IFormPanel ix.iview.ActionFormPanel
public class ActionFormPanel
A panel containing form-style sub-panels for viewing/editing an object
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.iface.ui.IFormPanel |
---|
IFormPanel.FieldChooser |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) AConstructFramePanel |
parent
|
Fields inherited from class ix.iface.ui.IFormPanel |
---|
displayBits, fieldRenderers, hideBits, listeners, model, nameBits, simpleFields |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ActionFormPanel(AConstructFramePanel parent)
|
Method Summary | |
---|---|
protected java.lang.Object |
deRenderValue(java.lang.String field,
java.lang.Object data)
De-render values for: pattern (lisp.elementsFromString), nodes (parse if text, otherwise ignore because updates are immediate) orderings (return als LList) |
void |
displayFieldData(java.lang.String field)
XXXX Loads the data of the given field into the panel. |
IXObject |
getConstruct()
Gets the current construct. |
UIObject |
getUIConstruct()
Gets the current UI construct. |
UIDomain |
getUIDomain()
Gets the current UIDomain. |
boolean |
isSequenceSet()
|
void |
loadFromObject()
Saves the data from the panel into the current object. |
protected IXEditorPanel |
makeDisplayBit(java.lang.String field)
make a special display bit for miniConstraints proper patterns enable variable checking in pattern and text versions of nodes and issues |
protected java.lang.Object |
renderValue(java.lang.String field,
java.lang.Object value)
Render values for: pattern (list to display), text nodes (write a line for each node) |
void |
saveToObject()
Saves the data from the display panels into the model's object. |
void |
saveToObject(EditableObject object)
Saves the display information from the display panels into the given object. |
void |
setConstruct(IXObject construct)
Sets the current construct. |
protected void |
setRenderers()
Sets the renderers to be added to the panel items (lists) of fiels. |
void |
setUIConstruct(UIObject uiObject)
Sets the current UI construct. |
void |
setUIConstructOnly(UIObject uiObject)
Sets the current UI construct without noting changes. |
java.lang.Object |
undoGetValue(java.lang.String field)
Gets the given field to the given value in the editor. |
void |
undoSetValue(java.lang.String field,
java.lang.Object value)
Sets the given field to the given value in the editor. |
Methods inherited from class ix.iface.ui.IFormPanel |
---|
actionPerformed, addFormActionListener, clear, clearBits, clearField, clearFields, displayModelData, editFields, ensurePanelBits, formModelChanged, getFieldBit, getFieldData, getModel, gotConstraint, hideBits, isListField, isSimpleField, saveFieldData, setFieldData, setHideBits, setModel, setModel, setRenderer, setSimpleField, unsetSimpleField, updateHideBits, updateNames |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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 |
Methods inherited from class java.awt.Container |
---|
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, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
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, hide, 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, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
AConstructFramePanel parent
Constructor Detail |
---|
ActionFormPanel(AConstructFramePanel parent)
Method Detail |
---|
public void displayFieldData(java.lang.String field)
IFormPanel
displayFieldData
in class IFormPanel
protected void setRenderers()
IFormPanel
setRenderers
in class IFormPanel
protected java.lang.Object renderValue(java.lang.String field, java.lang.Object value)
renderValue
in class IFormPanel
protected java.lang.Object deRenderValue(java.lang.String field, java.lang.Object data)
deRenderValue
in class IFormPanel
protected IXEditorPanel makeDisplayBit(java.lang.String field)
makeDisplayBit
in class IFormPanel
public boolean isSequenceSet()
public void undoSetValue(java.lang.String field, java.lang.Object value)
undoSetValue
in interface UndoEditing
public java.lang.Object undoGetValue(java.lang.String field)
undoGetValue
in interface UndoEditing
public UIDomain getUIDomain()
getUIDomain
in interface ConstructEditing
public IXObject getConstruct()
getConstruct
in interface ConstructEditing
public void setConstruct(IXObject construct)
setConstruct
in interface ConstructEditing
public UIObject getUIConstruct()
getUIConstruct
in interface ConstructEditing
public void setUIConstruct(UIObject uiObject)
ConstructEditing
setUIConstruct
in interface ConstructEditing
public void setUIConstructOnly(UIObject uiObject)
ConstructEditing
setUIConstructOnly
in interface ConstructEditing
public void loadFromObject()
ConstructEditing
loadFromObject
in interface ConstructEditing
public void saveToObject(EditableObject object)
IFormPanel
saveToObject
in interface ConstructEditing
saveToObject
in class IFormPanel
public void saveToObject()
IFormPanel
saveToObject
in class IFormPanel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |