|
|||||||||||
| 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.scatterplot.ScatterPlot
put your documentation comment here
| Nested Class Summary |
| 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 | |
static double |
AXISSPACEPORTION
|
static java.lang.String |
COMMAND_DATARANGE_SET
|
static java.lang.String |
COMMAND_POINT_SELECTED
|
| 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 edu.psu.geovista.app.matrix.MatrixElement |
COMMAND_COLOR_CLASSFICIATION |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ScatterPlot()
put your documentation comment here |
|
ScatterPlot(java.lang.Object[] dataObject,
int[] dataIndices,
boolean axisOn,
java.awt.Color c)
put your documentation comment here |
|
| Method Summary | |
void |
addActionListener(java.awt.event.ActionListener l)
adds an ActionListener to the button |
void |
addIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
adds an IndicationListener to the button |
void |
componentHidden(java.awt.event.ComponentEvent e)
|
void |
componentMoved(java.awt.event.ComponentEvent e)
|
void |
componentResized(java.awt.event.ComponentEvent e)
|
void |
componentShown(java.awt.event.ComponentEvent e)
|
void |
fireActionPerformed(java.lang.String command)
Notify all listeners that have registered interest for notification on this event type. |
edu.psu.geovista.symbolization.BivariateColorSymbolClassification |
getBivarColorClasser()
|
java.awt.Color[] |
getColors()
|
int[] |
getElementPosition()
put your documentation comment here |
java.lang.String |
getObservationLabel(int i)
|
java.util.Vector |
getSelectedObservations()
Return selections from this scatterplot. |
java.awt.Color |
getSelectionColor()
|
int[] |
getSelections()
Return selections from this scatterplot. |
boolean |
getSelOriginalColorMode()
|
java.awt.Shape |
getShapeAt(int i)
|
java.lang.String |
getShortDiscription()
|
MatrixElement |
getThis()
Return itself. |
double[] |
getXAxisExtents()
put your documentation comment here |
double[] |
getYAxisExtents()
put your documentation comment here |
boolean |
isAxisOn()
If AxisOn is true, it will be a detailed version of scatterplot with axises. |
static void |
main(java.lang.String[] args)
Test file. |
void |
makeColors()
|
void |
mouseClicked(java.awt.event.MouseEvent e)
Mouse click for selecting or brushing points (observations). |
void |
mouseDragged(java.awt.event.MouseEvent e)
Work with mouseReleased to draw a selection region (box) for selection. |
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)
Mouse over, it will show the values for current point by tool tip. |
void |
mousePressed(java.awt.event.MouseEvent e)
Begin the drawing of selection region (box). |
void |
mouseReleased(java.awt.event.MouseEvent e)
Work with mouseDragged to draw a selection region (box) for selection. |
void |
paintComponent(java.awt.Graphics g)
Draw the scatter plot. |
int[] |
pickAll(java.awt.geom.Rectangle2D hitBox)
|
void |
removeActionListener(java.awt.event.ActionListener l)
removes an ActionListener from the button |
void |
removeIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
removes an IndicationListener from the button |
void |
setAttributeArrays(java.lang.String[] attributeArrays)
put your documentation comment here |
void |
setAxisOn(boolean axisOn)
|
void |
setBackground(java.awt.Color c)
put your documentation comment here |
void |
setBivarColorClasser(edu.psu.geovista.symbolization.BivariateColorSymbolClassification bivarColorClasser,
boolean reverseColor)
Sets colors for the current data. |
void |
setColorArrayForObs(java.awt.Color[] colorArray)
|
void |
setConditionArray(int[] conditionArray)
put your documentation comment here |
void |
setDataIndices(int[] dataIndices)
Not used in dataObject version. |
void |
setDataObject(java.lang.Object[] data)
Set up data. |
void |
setDoubleDataArrays(double[][] doubleDataArrays)
put your documentation comment here |
void |
setElementPosition(int[] indices)
Set up x and y axises in each element by setting the attributes displayed. |
void |
setIndication(int indication)
|
void |
setMultipleSelectionColors(java.awt.Color[] c)
|
void |
setPointSelected(boolean pointselected)
|
void |
setSelectedObservations(java.util.Vector selectedObservations)
Set up selections from other components. |
void |
setSelectionColor(java.awt.Color c)
|
void |
setSelections(int[] selectedObservations)
|
void |
setSelOriginalColorMode(boolean selOriginalColorMode)
|
void |
setX(double[] dataX)
put your documentation comment here |
void |
setXAxisExtents(double[] xAxisExtents)
Minimum and maximum values for xAxis. |
void |
setY(double[] dataY)
put your documentation comment here |
void |
setYAxisExtents(double[] yAxisExtents)
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, 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, getBackground, 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 edu.psu.geovista.ui.ExcentricLabelClient |
repaint |
| Field Detail |
public static double AXISSPACEPORTION
public static final java.lang.String COMMAND_POINT_SELECTED
public static final java.lang.String COMMAND_DATARANGE_SET
| Constructor Detail |
public ScatterPlot()
public ScatterPlot(java.lang.Object[] dataObject,
int[] dataIndices,
boolean axisOn,
java.awt.Color c)
| Method Detail |
public void setDataObject(java.lang.Object[] data)
setDataObject in interface MatrixElementdata - public void setDoubleDataArrays(double[][] doubleDataArrays)
doubleDataArrays - public void setDataIndices(int[] dataIndices)
dataIndices - public void setElementPosition(int[] indices)
setElementPosition in interface MatrixElementindices - public int[] getElementPosition()
getElementPosition in interface MatrixElementpublic void setAttributeArrays(java.lang.String[] attributeArrays)
attributeArrays - public void setX(double[] dataX)
dataX - public void setY(double[] dataY)
dataY - public void setAxisOn(boolean axisOn)
setAxisOn in interface MatrixElementpublic void setXAxisExtents(double[] xAxisExtents)
setXAxisExtents in interface MatrixElementxAxisExtents - public void setYAxisExtents(double[] yAxisExtents)
setYAxisExtents in interface MatrixElementyAxisExtents - public double[] getXAxisExtents()
getXAxisExtents in interface MatrixElementpublic double[] getYAxisExtents()
getYAxisExtents in interface MatrixElementpublic void setConditionArray(int[] conditionArray)
setConditionArray in interface MatrixElementconditionArray - public void setColorArrayForObs(java.awt.Color[] colorArray)
setColorArrayForObs in interface MatrixElementpublic void setBackground(java.awt.Color c)
setBackground in interface MatrixElementc - public void setSelectionColor(java.awt.Color c)
setSelectionColor in interface MatrixElementpublic java.awt.Color getSelectionColor()
public boolean getSelOriginalColorMode()
public void setSelOriginalColorMode(boolean selOriginalColorMode)
setSelOriginalColorMode in interface MatrixElementpublic void setPointSelected(boolean pointselected)
public void setMultipleSelectionColors(java.awt.Color[] c)
setMultipleSelectionColors in interface MatrixElementpublic java.awt.Color[] getColors()
public MatrixElement getThis()
public java.lang.String getShortDiscription()
getShortDiscription in interface MatrixElementpublic void paintComponent(java.awt.Graphics g)
g - public java.util.Vector getSelectedObservations()
getSelectedObservations in interface MatrixElementpublic void setSelectedObservations(java.util.Vector selectedObservations)
setSelectedObservations in interface MatrixElementselectedObservations - public void setSelections(int[] selectedObservations)
setSelections in interface MatrixElementpublic int[] getSelections()
getSelections in interface MatrixElementpublic void setIndication(int indication)
setIndication in interface MatrixElementpublic java.lang.String getObservationLabel(int i)
getObservationLabel in interface ExcentricLabelClientpublic java.awt.Shape getShapeAt(int i)
getShapeAt in interface ExcentricLabelClientpublic int[] pickAll(java.awt.geom.Rectangle2D hitBox)
pickAll in interface ExcentricLabelClientpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown in interface java.awt.event.ComponentListenerpublic 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 addIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
addIndicationListener in interface MatrixElementpublic void removeIndicationListener(edu.psu.geovista.ui.event.IndicationListener l)
removeIndicationListener in interface MatrixElementpublic void addActionListener(java.awt.event.ActionListener l)
addActionListener in interface MatrixElementpublic void removeActionListener(java.awt.event.ActionListener l)
public void fireActionPerformed(java.lang.String command)
EventListenerListpublic boolean isAxisOn()
public void setBivarColorClasser(edu.psu.geovista.symbolization.BivariateColorSymbolClassification bivarColorClasser,
boolean reverseColor)
setBivarColorClasser in interface MatrixElementpublic edu.psu.geovista.symbolization.BivariateColorSymbolClassification getBivarColorClasser()
getBivarColorClasser in interface MatrixElementpublic void makeColors()
public static void main(java.lang.String[] args)
args -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||