|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.nuiton.math.matrix.viewer.MatrixViewerPanel
public class MatrixViewerPanel
Panel that can display matrix list details (dimension) and rendering solutions.
| Nested Class Summary | |
|---|---|
protected class |
MatrixViewerPanel.IconButtonRenderingPanel
Icon button rendering panel. |
protected class |
MatrixViewerPanel.MatrixComboBox
Matrix list combo box. |
protected class |
MatrixViewerPanel.MatrixComboBoxModel
Matrix list combo box model. |
protected static class |
MatrixViewerPanel.MatrixComboRenderer
Matrix list combo renderer. |
protected class |
MatrixViewerPanel.RadioButtonRenderingPanel
Radio button rendering panel. |
protected static class |
MatrixViewerPanel.RendererButtonModel
Button model from button containing rendered instance. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| 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 | |
|---|---|
MatrixViewerPanel()
|
|
| Method Summary | |
|---|---|
void |
addMatrix(MatrixND... matrices)
|
boolean |
addMatrixFilter(MatrixFilter matrixFilter)
Add new matrix filter. |
boolean |
addMatrixRenderer(MatrixRenderer matrixRenderer)
|
protected void |
buildPanel()
Build main panel. |
void |
clearMatrix()
|
MatrixRendererSolution |
getMatrixRendererSolution()
|
protected boolean |
isMatrixComboVisible()
|
void |
removeMatrix(Object... matrices)
|
boolean |
removeMatrixFilter(Object matrixFilter)
|
boolean |
removeMatrixRenderer(Object matrixRenderer)
|
void |
setMatrixComboVisible(boolean matrixComboVisible)
|
void |
setMatrixRendererSolution(MatrixRendererSolution matrixRendererSolution)
|
protected void |
updateSelectedRenderingComponent()
Set rendering component in rendering container. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_MATRIX_COMBO_VISIBLE
public static final String PROPERTY_MATRIX_RENDERER_SOLUTION
public static final String PROPERTY_MATRIX_RENDERERS
public static final String PROPERTY_MATRICES
protected boolean matrixComboVisible
protected MatrixRendererSolution matrixRendererSolution
MatrixRendererSolution.RADIO_BUTTON
protected List<MatrixRenderer> matrixRenderers
protected List<MatrixFilter> matrixFilters
protected List<MatrixND> matrices
matrixComboVisible to true).
protected MatrixViewerPanel.MatrixComboBox matrixComboBox
protected MatrixDimensionPanel dimensionPanel
protected MatrixViewerPanel.RadioButtonRenderingPanel radioPanel
protected MatrixViewerPanel.IconButtonRenderingPanel iconPanel
protected JPanel renderingComponentContainer
protected Map<MatrixRenderer,Component> componentForRenderers
| Constructor Detail |
|---|
public MatrixViewerPanel()
| Method Detail |
|---|
protected boolean isMatrixComboVisible()
public void setMatrixComboVisible(boolean matrixComboVisible)
public MatrixRendererSolution getMatrixRendererSolution()
public void setMatrixRendererSolution(MatrixRendererSolution matrixRendererSolution)
public boolean addMatrixRenderer(MatrixRenderer matrixRenderer)
public boolean removeMatrixRenderer(Object matrixRenderer)
public boolean addMatrixFilter(MatrixFilter matrixFilter)
matrixFilter - matrix filter
true (as specified by Collection.add(Object)public boolean removeMatrixFilter(Object matrixFilter)
public void addMatrix(MatrixND... matrices)
public void removeMatrix(Object... matrices)
public void clearMatrix()
protected void buildPanel()
protected void updateSelectedRenderingComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||