Package org.nuiton.math.matrix.gui
Class MatrixPanelEditor
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JPanel
- 
- org.nuiton.math.matrix.gui.MatrixEditor
- 
- org.nuiton.math.matrix.gui.MatrixPanelEditor
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- ImageObserver,- MenuContainer,- Serializable,- Accessible,- jaxx.runtime.JAXXContext,- jaxx.runtime.JAXXObject
 
 public class MatrixPanelEditor extends MatrixEditor implements jaxx.runtime.JAXXObject - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class javax.swing.JPanelJPanel.AccessibleJPanel
 - 
Nested classes/interfaces inherited from class javax.swing.JComponentJComponent.AccessibleJComponent
 - 
Nested classes/interfaces inherited from class java.awt.ContainerContainer.AccessibleAWTContainer
 - 
Nested classes/interfaces inherited from class java.awt.ComponentComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected List<Object>$activeBindingsprotected Map<String,jaxx.runtime.JAXXBinding>$bindingsprotected Map<String,Object>$bindingSourcesprotected Map<String,Object>$objectMapprotected Map<?,?>$previousValuesstatic StringBINDING_BUTTON_EDIT_VISIBLEprotected JButtonbuttonEditprotected jaxx.runtime.JAXXContextdelegateContextprotected BooleandimensionEditprotected BooleandisplayOptionsprotected JScrollPaneeditAreaprotected MatrixPanelEditorHandlerhandlerprotected BooleanlinearModelprotected BooleanlinearModelShowDefaultprotected MatrixNDmatrixprotected JLabelmatrixNameLabelprotected JCheckBoxmeanOptionCheckBoxstatic StringPROPERTY_DIMENSION_EDITstatic StringPROPERTY_DISPLAY_OPTIONSstatic StringPROPERTY_LINEAR_MODELstatic StringPROPERTY_LINEAR_MODEL_SHOW_DEFAULTprotected JCheckBoxsumOptionCheckBoxprotected JTabletableprotected JCheckBoxtransposeOptionCheckBox- 
Fields inherited from class org.nuiton.math.matrix.gui.MatrixEditorenabled, visible
 - 
Fields inherited from class javax.swing.JComponentlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 - 
Fields inherited from class java.awt.ComponentaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 - 
Fields inherited from interface java.awt.image.ImageObserverABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
- 
 - 
Constructor SummaryConstructors Constructor Description MatrixPanelEditor()MatrixPanelEditor(boolean dimensionEdit)MatrixPanelEditor(boolean dimensionEdit, int width, int height)MatrixPanelEditor(jaxx.runtime.JAXXContext parentContext)MatrixPanelEditor(MatrixND m, boolean dimensionEdit)
 - 
Method Summary- 
Methods inherited from class org.nuiton.math.matrix.gui.MatrixEditorsetEnabled, setVisible
 - 
Methods inherited from class javax.swing.JPanelgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 - 
Methods inherited from class javax.swing.JComponentaddAncestorListener, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 - 
Methods inherited from class java.awt.Containeradd, 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
 - 
Methods inherited from class java.awt.Componentaction, 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, 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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
- 
 
- 
- 
- 
Field Detail- 
PROPERTY_DIMENSION_EDITpublic static final String PROPERTY_DIMENSION_EDIT - See Also:
- Constant Field Values
 
 - 
PROPERTY_DISPLAY_OPTIONSpublic static final String PROPERTY_DISPLAY_OPTIONS - See Also:
- Constant Field Values
 
 - 
PROPERTY_LINEAR_MODELpublic static final String PROPERTY_LINEAR_MODEL - See Also:
- Constant Field Values
 
 - 
PROPERTY_LINEAR_MODEL_SHOW_DEFAULTpublic static final String PROPERTY_LINEAR_MODEL_SHOW_DEFAULT - See Also:
- Constant Field Values
 
 - 
BINDING_BUTTON_EDIT_VISIBLEpublic static final String BINDING_BUTTON_EDIT_VISIBLE - See Also:
- Constant Field Values
 
 - 
$previousValuesprotected Map<?,?> $previousValues 
 - 
delegateContextprotected final jaxx.runtime.JAXXContext delegateContext 
 - 
buttonEditprotected JButton buttonEdit 
 - 
dimensionEditprotected Boolean dimensionEdit 
 - 
displayOptionsprotected Boolean displayOptions 
 - 
editAreaprotected JScrollPane editArea 
 - 
handlerprotected MatrixPanelEditorHandler handler 
 - 
linearModelprotected Boolean linearModel 
 - 
linearModelShowDefaultprotected Boolean linearModelShowDefault 
 - 
matrixNameLabelprotected JLabel matrixNameLabel 
 - 
meanOptionCheckBoxprotected JCheckBox meanOptionCheckBox 
 - 
sumOptionCheckBoxprotected JCheckBox sumOptionCheckBox 
 - 
tableprotected JTable table 
 - 
transposeOptionCheckBoxprotected JCheckBox transposeOptionCheckBox 
 - 
matrixprotected MatrixND matrix 
 
- 
 - 
Constructor Detail- 
MatrixPanelEditorpublic MatrixPanelEditor(boolean dimensionEdit, int width, int height)
 - 
MatrixPanelEditorpublic MatrixPanelEditor(boolean dimensionEdit) 
 - 
MatrixPanelEditorpublic MatrixPanelEditor(MatrixND m, boolean dimensionEdit) 
 - 
MatrixPanelEditorpublic MatrixPanelEditor() 
 - 
MatrixPanelEditorpublic MatrixPanelEditor(jaxx.runtime.JAXXContext parentContext) 
 
- 
 - 
Method Detail- 
setMatrixpublic void setMatrix(MatrixND matrix) - Specified by:
- setMatrixin class- MatrixEditor
 
 - 
getMatrixpublic MatrixND getMatrix() - Specified by:
- getMatrixin class- MatrixEditor
 
 - 
$afterCompleteSetupprotected void $afterCompleteSetup() 
 - 
fireEventprotected void fireEvent() - Specified by:
- fireEventin class- MatrixEditor
 
 - 
addMatrixPanelListenerpublic void addMatrixPanelListener(MatrixPanelListener l) 
 - 
removeMatrixPanelListenerpublic void removeMatrixPanelListener(MatrixPanelListener l) 
 - 
$getJAXXObjectDescriptorpublic static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor() 
 - 
applyDataBindingpublic void applyDataBinding(String $binding) - Specified by:
- applyDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
firePropertyChangepublic void firePropertyChange(String propertyName, Object oldValue, Object newValue) - Specified by:
- firePropertyChangein interface- jaxx.runtime.JAXXObject
- Overrides:
- firePropertyChangein class- Component
 
 - 
get$objectMappublic Map<String,Object> get$objectMap() - Specified by:
- get$objectMapin interface- jaxx.runtime.JAXXObject
 
 - 
getDataBindingpublic jaxx.runtime.JAXXBinding getDataBinding(String bindingId) - Specified by:
- getDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
getDataBindingspublic jaxx.runtime.JAXXBinding[] getDataBindings() - Specified by:
- getDataBindingsin interface- jaxx.runtime.JAXXObject
 
 - 
getObjectByIdpublic Object getObjectById(String id) - Specified by:
- getObjectByIdin interface- jaxx.runtime.JAXXObject
 
 - 
processDataBindingpublic void processDataBinding(String $binding, boolean $force) - Specified by:
- processDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
processDataBindingpublic void processDataBinding(String $binding) - Specified by:
- processDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
registerDataBindingpublic void registerDataBinding(jaxx.runtime.JAXXBinding binding) - Specified by:
- registerDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
removeDataBindingpublic void removeDataBinding(String $binding) - Specified by:
- removeDataBindingin interface- jaxx.runtime.JAXXObject
 
 - 
getContextValuepublic <T> T getContextValue(Class<T> clazz) - Specified by:
- getContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
getContextValuepublic <T> T getContextValue(Class<T> clazz, String name) - Specified by:
- getContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
getDelegateContextpublic jaxx.runtime.JAXXContext getDelegateContext() - Specified by:
- getDelegateContextin interface- jaxx.runtime.JAXXObject
 
 - 
getParentContainerpublic <O extends Container> O getParentContainer(Class<O> clazz) - Specified by:
- getParentContainerin interface- jaxx.runtime.JAXXObject
 
 - 
getParentContainerpublic <O extends Container> O getParentContainer(Object source, Class<O> clazz) - Specified by:
- getParentContainerin interface- jaxx.runtime.JAXXObject
 
 - 
removeContextValuepublic <T> void removeContextValue(Class<T> clazz) - Specified by:
- removeContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
removeContextValuepublic <T> void removeContextValue(Class<T> clazz, String name) - Specified by:
- removeContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
setContextValuepublic <T> void setContextValue(T o) - Specified by:
- setContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
setContextValuepublic <T> void setContextValue(T o, String name)- Specified by:
- setContextValuein interface- jaxx.runtime.JAXXContext
 
 - 
doActionPerformed__on__buttonEditpublic void doActionPerformed__on__buttonEdit(ActionEvent event) 
 - 
doActionPerformed__on__meanOptionCheckBoxpublic void doActionPerformed__on__meanOptionCheckBox(ActionEvent event) 
 - 
doActionPerformed__on__sumOptionCheckBoxpublic void doActionPerformed__on__sumOptionCheckBox(ActionEvent event) 
 - 
doActionPerformed__on__transposeOptionCheckBoxpublic void doActionPerformed__on__transposeOptionCheckBox(ActionEvent event) 
 - 
getButtonEditpublic JButton getButtonEdit() - Specified by:
- getButtonEditin class- MatrixEditor
 
 - 
getDimensionEditpublic Boolean getDimensionEdit() 
 - 
getDisplayOptionspublic Boolean getDisplayOptions() 
 - 
getEditAreapublic JScrollPane getEditArea() 
 - 
getHandlerpublic MatrixPanelEditorHandler getHandler() 
 - 
getLinearModelpublic Boolean getLinearModel() 
 - 
getLinearModelShowDefaultpublic Boolean getLinearModelShowDefault() 
 - 
getMatrixNameLabelpublic JLabel getMatrixNameLabel() 
 - 
getMeanOptionCheckBoxpublic JCheckBox getMeanOptionCheckBox() 
 - 
getSumOptionCheckBoxpublic JCheckBox getSumOptionCheckBox() 
 - 
getTablepublic JTable getTable() - Specified by:
- getTablein class- MatrixEditor
 
 - 
getTransposeOptionCheckBoxpublic JCheckBox getTransposeOptionCheckBox() 
 - 
isDimensionEditpublic Boolean isDimensionEdit() 
 - 
isDisplayOptionspublic Boolean isDisplayOptions() 
 - 
isLinearModelpublic Boolean isLinearModel() - Specified by:
- isLinearModelin class- MatrixEditor
- Returns:
- Returns the linearModel.
 
 - 
isLinearModelShowDefaultpublic Boolean isLinearModelShowDefault() - Specified by:
- isLinearModelShowDefaultin class- MatrixEditor
- Returns:
- Returns the linearModelShowDefault.
 
 - 
setDimensionEditpublic void setDimensionEdit(Boolean dimensionEdit) 
 - 
setDisplayOptionspublic void setDisplayOptions(Boolean displayOptions) 
 - 
setLinearModelpublic void setLinearModel(Boolean linearModel) - Specified by:
- setLinearModelin class- MatrixEditor
- Parameters:
- linearModel- The linearModel to set.
 
 - 
setLinearModelShowDefaultpublic void setLinearModelShowDefault(Boolean linearModelShowDefault) - Specified by:
- setLinearModelShowDefaultin class- MatrixEditor
- Parameters:
- linearModelShowDefault- The linearModelShowDefault to set.
 
 - 
get$Table0protected jaxx.runtime.swing.Table get$Table0() 
 - 
addChildrenToEditAreaprotected void addChildrenToEditArea() 
 - 
createButtonEditprotected void createButtonEdit() 
 - 
createDimensionEditprotected void createDimensionEdit() 
 - 
createDisplayOptionsprotected void createDisplayOptions() 
 - 
createEditAreaprotected void createEditArea() 
 - 
createHandlerprotected void createHandler() 
 - 
createLinearModelprotected void createLinearModel() 
 - 
createLinearModelShowDefaultprotected void createLinearModelShowDefault() 
 - 
createMatrixNameLabelprotected void createMatrixNameLabel() 
 - 
createMeanOptionCheckBoxprotected void createMeanOptionCheckBox() 
 - 
createSumOptionCheckBoxprotected void createSumOptionCheckBox() 
 - 
createTableprotected void createTable() 
 - 
createTransposeOptionCheckBoxprotected void createTransposeOptionCheckBox() 
 
- 
 
-