|
|||||||||||
| 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
edu.psu.geovista.app.matrix.AbstractMatrix
| Nested Class Summary | |
protected class |
AbstractMatrix.SPGridBagConstraints
|
class |
AbstractMatrix.SPTagButton
|
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected javax.swing.JList |
attList
|
protected java.lang.String[] |
attributeDescriptions
|
protected java.lang.String[] |
attributesDisplay
|
protected java.awt.Color |
background
|
protected edu.psu.geovista.symbolization.BivariateColorSymbolClassification |
bivarColorClasser
|
protected AbstractMatrix.SPGridBagConstraints |
c
|
protected java.awt.Color[] |
colorArrayForObs
|
protected AbstractMatrix.SPTagButton[] |
columnButton
|
protected int[] |
conditionArray
|
protected javax.swing.JButton |
configButton
|
protected java.lang.Object[] |
dataObject
|
protected static int |
DEFAULT_BUTTON_CONSTRAINTS
|
protected static int |
DEFAULT_MAX_NUM_ARRAYS
|
protected static int |
DEFAULT_PANEL_HEIGHT_PIXELS
|
protected static int |
DEFAULT_PANEL_WIDTH_PIXELS
|
protected javax.swing.JList |
descriptionList
|
protected MatrixElement[] |
element
|
protected java.lang.Class |
elementClass
|
protected static javax.swing.ImageIcon |
leftRightArrow
|
protected java.awt.GridBagLayout |
matrixLayout
|
protected int |
maxNumArrays
|
protected java.awt.Color[] |
multipleSelectionColors
|
protected static java.awt.Insets |
nullInsets
|
protected int |
panelHeightPixels
|
protected int |
panelWidthPixels
|
protected int |
plotNumber
|
protected int[] |
plottedAttributes
|
protected int |
plottedBegin
|
protected java.awt.Point |
posDrag
|
protected java.awt.Point |
posLast
|
protected java.awt.Point |
posNew
|
protected boolean |
recreate
|
protected AbstractMatrix.SPTagButton[] |
rowButton
|
protected int[] |
selectedObvsInt
|
protected java.awt.Color |
selectionColor
|
protected int[] |
selections
|
protected boolean |
selOriginalColorMode
|
protected static javax.swing.ImageIcon |
topDownArrow
|
protected java.lang.String[] |
varTags
|
| 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 | |
AbstractMatrix()
|
|
| Method Summary | |
void |
addChangeListener(javax.swing.event.ChangeListener l)
put your documentation comment here |
void |
addIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
adds an IndicationListener to the elements |
void |
addSelectionListener(edu.psu.geovista.ui.event.SelectionListener l)
adds an SelectionListener. |
void |
addSubspaceListener(edu.psu.geovista.ui.event.SubspaceListener l)
adds a SubspaceListener |
void |
colorArrayChanged(edu.psu.geovista.ui.event.ColorArrayEvent e)
|
void |
colorClassifierChanged(edu.psu.geovista.ui.event.ColorClassifierEvent e)
|
void |
conditioningChanged(edu.psu.geovista.ui.event.ConditioningEvent e)
|
protected abstract void |
createMatrix()
|
void |
dataSetChanged(edu.psu.geovista.ui.event.DataSetEvent e)
|
protected void |
fireChangeEvent()
put your documentation comment here |
protected void |
fireSelectionChanged(int[] newSelection)
Notify all listeners that have registered interest for notification on this event type. |
void |
fireSubspaceChanged(int[] selection)
Notify all listeners that have registered interest for notification on this event type. |
java.awt.Color |
getBackground()
put your documentation comment here |
edu.psu.geovista.symbolization.BivariateColorSymbolClassification |
getBivarColorClasser()
|
java.lang.Class |
getElementClass()
put your documentation comment here |
int |
getMaxNumArrays()
Get the maximum number of columns and rows can be shown in matrix. |
int |
getPlottedBegin()
Get the beginning varaible. |
int[] |
getSelectedObvs()
Return index array for selected observations. |
java.awt.Color |
getSelectionColor()
put your documentation comment here |
boolean |
getSelOriginalColorMode()
|
void |
indicationChanged(edu.psu.geovista.ui.event.IndicationEvent e)
|
protected void |
init()
put your documentation comment here |
void |
mouseClicked(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mouseDragged(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mouseEntered(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mouseExited(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mouseMoved(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mousePressed(java.awt.event.MouseEvent e)
put your documentation comment here |
void |
mouseReleased(java.awt.event.MouseEvent e)
put your documentation comment here |
protected void |
moveRowAndColumn(int lastPos,
int newPos)
Shift columns or rows in the matrix. |
protected void |
readObject(java.io.ObjectInputStream ois)
put your documentation comment here |
protected void |
registerIndicationListeners()
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
put your documentation comment here |
void |
removeIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
removes an IndicationListener from the elements |
void |
removeSelectionListener(edu.psu.geovista.ui.event.SelectionListener l)
removes an SelectionListener from the component. |
void |
removeSubspaceListener(edu.psu.geovista.ui.event.SubspaceListener l)
removes an SubspaceListener from the component |
void |
selectionChanged(edu.psu.geovista.ui.event.SelectionEvent e)
|
void |
setBackground(java.awt.Color c)
Set up background color. |
void |
setBivarColorClasser(edu.psu.geovista.symbolization.BivariateColorSymbolClassification bivarColorClasser)
Set up classification color for each matrix element. |
void |
setColorArrayForObs(java.awt.Color[] colorArray)
|
void |
setConditionArray(int[] condition)
put your documentation comment here |
void |
setDataObject(java.lang.Object[] data)
Data setup and matrix initialize. |
void |
setMaxNumArrays(int maxNum)
Set the maximum number of columns and rows can be shown in matrix. |
void |
setMultipleSelectionColors(java.awt.Color[] multipleSelectionColors)
Set up selection. |
void |
setPanelSize(int widthPixels,
int heightPixels)
Set up the default size of matrix panel. |
void |
setPlottedAttributes(int[] plottedAtt)
Set the attribute arrays which need to display in matrix by indices. |
void |
setPlottedBegin(int plottedBegin)
Set the beginning varaible. |
void |
setSelectedObvs(int[] selected)
|
void |
setSelectionColor(java.awt.Color c)
Set up selection color for each matrix element. |
void |
setSelOriginalColorMode(boolean selOriginalColorMode)
|
void |
stateChanged(javax.swing.event.ChangeEvent e)
put your documentation comment here |
void |
subspaceChanged(edu.psu.geovista.ui.event.SubspaceEvent e)
|
protected boolean |
validCellPos(java.awt.Point pos)
put your documentation comment here |
protected void |
writeObject(java.io.ObjectOutputStream oos)
put your documentation comment here |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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 |
| Methods inherited from interface javax.swing.event.ListSelectionListener |
valueChanged |
| Field Detail |
protected static final int DEFAULT_MAX_NUM_ARRAYS
protected static final int DEFAULT_PANEL_HEIGHT_PIXELS
protected static final int DEFAULT_PANEL_WIDTH_PIXELS
protected static final int DEFAULT_BUTTON_CONSTRAINTS
protected transient java.lang.Class elementClass
protected transient java.lang.Object[] dataObject
protected transient int[] conditionArray
protected transient java.lang.String[] attributesDisplay
protected transient java.lang.String[] attributeDescriptions
protected transient int plottedBegin
protected transient int plotNumber
protected transient int maxNumArrays
protected transient int[] plottedAttributes
protected transient java.awt.Color[] multipleSelectionColors
protected transient java.awt.Color[] colorArrayForObs
protected transient MatrixElement[] element
protected transient int[] selectedObvsInt
protected transient int[] selections
protected transient edu.psu.geovista.symbolization.BivariateColorSymbolClassification bivarColorClasser
protected transient java.awt.Color selectionColor
protected transient java.awt.Color background
protected transient boolean selOriginalColorMode
protected transient java.awt.GridBagLayout matrixLayout
protected transient java.awt.Point posLast
protected transient java.awt.Point posNew
protected transient java.awt.Point posDrag
protected transient boolean recreate
protected transient int panelWidthPixels
protected transient int panelHeightPixels
protected transient javax.swing.JList attList
protected transient javax.swing.JList descriptionList
protected transient AbstractMatrix.SPGridBagConstraints c
protected static javax.swing.ImageIcon leftRightArrow
protected static javax.swing.ImageIcon topDownArrow
protected static java.awt.Insets nullInsets
protected java.lang.String[] varTags
protected AbstractMatrix.SPTagButton[] columnButton
protected AbstractMatrix.SPTagButton[] rowButton
protected javax.swing.JButton configButton
| Constructor Detail |
public AbstractMatrix()
| Method Detail |
protected abstract void createMatrix()
public void setPanelSize(int widthPixels,
int heightPixels)
widthPixels - heightPixels - public java.lang.Class getElementClass()
public void setDataObject(java.lang.Object[] data)
data - protected void registerIndicationListeners()
public void setSelectedObvs(int[] selected)
public int[] getSelectedObvs()
public void setMaxNumArrays(int maxNum)
maxNum - public int getMaxNumArrays()
public void setPlottedBegin(int plottedBegin)
plottedBegin - public int getPlottedBegin()
public void setPlottedAttributes(int[] plottedAtt)
plottedAtt - public void setConditionArray(int[] condition)
condition - public void setBivarColorClasser(edu.psu.geovista.symbolization.BivariateColorSymbolClassification bivarColorClasser)
public edu.psu.geovista.symbolization.BivariateColorSymbolClassification getBivarColorClasser()
public void setSelectionColor(java.awt.Color c)
c - public void setColorArrayForObs(java.awt.Color[] colorArray)
public java.awt.Color getSelectionColor()
public boolean getSelOriginalColorMode()
public void setSelOriginalColorMode(boolean selOriginalColorMode)
public void setMultipleSelectionColors(java.awt.Color[] multipleSelectionColors)
public void setBackground(java.awt.Color c)
c - public java.awt.Color getBackground()
protected void init()
protected boolean validCellPos(java.awt.Point pos)
pos -
protected void moveRowAndColumn(int lastPos,
int newPos)
lastPos - newPos - public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenere - public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenere - public void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenere - public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenere - public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenere - public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenere - public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenere - public void selectionChanged(edu.psu.geovista.ui.event.SelectionEvent e)
selectionChanged in interface edu.psu.geovista.ui.event.SelectionListenerpublic void indicationChanged(edu.psu.geovista.ui.event.IndicationEvent e)
indicationChanged in interface edu.psu.geovista.ui.event.IndicationListenerpublic void dataSetChanged(edu.psu.geovista.ui.event.DataSetEvent e)
dataSetChanged in interface edu.psu.geovista.ui.event.DataSetListenerpublic void conditioningChanged(edu.psu.geovista.ui.event.ConditioningEvent e)
conditioningChanged in interface edu.psu.geovista.ui.event.ConditioningListenerpublic void colorArrayChanged(edu.psu.geovista.ui.event.ColorArrayEvent e)
colorArrayChanged in interface edu.psu.geovista.ui.event.ColorArrayListenerpublic void colorClassifierChanged(edu.psu.geovista.ui.event.ColorClassifierEvent e)
colorClassifierChanged in interface edu.psu.geovista.ui.event.ColorClassifierListenerpublic void subspaceChanged(edu.psu.geovista.ui.event.SubspaceEvent e)
subspaceChanged in interface edu.psu.geovista.ui.event.SubspaceListenerpublic void addIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
public void removeIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
public void addSelectionListener(edu.psu.geovista.ui.event.SelectionListener l)
EventListenerListpublic void removeSelectionListener(edu.psu.geovista.ui.event.SelectionListener l)
EventListenerListprotected void fireSelectionChanged(int[] newSelection)
EventListenerListpublic void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenere - public void addChangeListener(javax.swing.event.ChangeListener l)
l - public void removeChangeListener(javax.swing.event.ChangeListener l)
l - protected void fireChangeEvent()
protected void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
oos -
java.io.IOException
protected void readObject(java.io.ObjectInputStream ois)
throws java.lang.ClassNotFoundException,
java.io.IOException
ois -
ClassNotFoundException, - IOException
java.lang.ClassNotFoundException
java.io.IOExceptionpublic void addSubspaceListener(edu.psu.geovista.ui.event.SubspaceListener l)
public void removeSubspaceListener(edu.psu.geovista.ui.event.SubspaceListener l)
public void fireSubspaceChanged(int[] selection)
EventListenerList
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||