public class PickWorldCanvas extends WorldCanvas
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
(package private) Builder |
builder |
(package private) BuildPaintInstructor |
buildPaintInstructor |
(package private) boolean |
drawGrid |
(package private) GridPainter |
gridPainter |
(package private) PickHandler |
pickHandler |
(package private) PickStore |
pickStore |
(package private) static long |
serialVersionUID |
BOX, mouse, MULTI, painter, paintInstructor, PAN, reframeBox, ROLL, TURN, wt, ZOOM, ZOOMIN, ZOOMOUT
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
PickWorldCanvas(int w,
int h,
boolean interact) |
Modifier and Type | Method and Description |
---|---|
void |
attach(java.lang.Object obj) |
void |
paint2D(java.awt.Graphics2D g) |
void |
postPaint(java.awt.Graphics2D g) |
void |
prePaint(java.awt.Graphics2D g) |
void |
reframe() |
void |
setAxisColor(java.awt.Color c) |
void |
setBg(java.awt.Color c) |
void |
setBuildPaintInstructor(BuildPaintInstructor pi) |
void |
setGridColor(java.awt.Color c) |
void |
setNoGrid() |
void |
setOnGridAxes() |
void |
setPickListener(PickListener pl) |
void |
setShowGrid(boolean b) |
void |
setXAxisLabel(java.lang.String s) |
addHandler, addRangeListener, addWorldHandlers, applyAAPreference, boxSelected, dragRollRotate, dragZoom, dragZRotate, ensureCovers, fixRanges, frameToBox, get2Center, get3Center, getFourMatrix, getIntPosition, getPainter, getProjectionMatrix, getWorldTransform, getXRange, getYRange, initializeRotation, initializeRotation, initializeZoom, isAntialiasing, paintComponent, permanentPan, prependHandler, reluctantReframe, restoreAA, setAntialias, setClickListener, setColorRange, setColorTable, setFixedAspectRatio, setFourMatrix, setMode, setMode, setMode, setMouseMode, setPaintInstructor, setRollCenter, setRotationListener, setXRange, setXRange, setYRange, setYRange, showTooltips, syncSize, trialPan, turn, viewAction, zoom, zoom
getDataBackground, getNormalForeground, requestRepaint, setCursor, setDataBackground, setPreferredSize, simpleStroke
setTooltip
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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
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, transferFocusDownCycle, validate, validateTree
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, transferFocusBackward, transferFocusUpCycle
static final long serialVersionUID
PickStore pickStore
Builder builder
PickHandler pickHandler
BuildPaintInstructor buildPaintInstructor
GridPainter gridPainter
boolean drawGrid
public void setXAxisLabel(java.lang.String s)
public void setBg(java.awt.Color c)
setBg
in class BaseCanvas
public void setNoGrid()
public void setShowGrid(boolean b)
public void setBuildPaintInstructor(BuildPaintInstructor pi)
public void setPickListener(PickListener pl)
public void setGridColor(java.awt.Color c)
public void setAxisColor(java.awt.Color c)
public void prePaint(java.awt.Graphics2D g)
prePaint
in class WorldCanvas
public void postPaint(java.awt.Graphics2D g)
postPaint
in class WorldCanvas
public void paint2D(java.awt.Graphics2D g)
paint2D
in class WorldCanvas
public void attach(java.lang.Object obj)
public void setOnGridAxes()
public void reframe()
reframe
in class WorldCanvas
Copyright © 2013. All Rights Reserved.