public class SLPolyRegion extends SLComponent implements SLLocator
javax.swing.JComponent.AccessibleJComponentname, selectedaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
SLPolyRegion(SLComponent parent) |
SLPolyRegion(SLLocator locator,
SLComponent parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(SLComponentEvent ev) |
void |
addChild(SLComponent b) |
void |
addGridElement(GridElementStorage x) |
boolean |
contains(DblMatrix coords)
Determines whether the specified coordinates are inside this polygon.
|
java.util.List |
getChildren() |
DblMatrix |
getCoordinate(double[] pixel) |
DblMatrix |
getCoordinate(int[] pixel) |
java.awt.Color |
getEdgeColor() |
int |
getEdgeWidth() |
java.awt.Color |
getFaceColor() |
SLPaint |
getFacePaint() |
java.awt.Graphics |
getGraphics() |
int[] |
getPixel(DblMatrix x,
DblMatrix y) |
int[] |
getPixel(DblMatrix x,
DblMatrix y,
DblMatrix z) |
DblMatrix |
getPixelAsDbl(DblMatrix x,
DblMatrix y) |
DblMatrix |
getPixelAsDbl(DblMatrix x,
DblMatrix y,
DblMatrix z) |
float[] |
getPixelAsFloat(DblMatrix x,
DblMatrix y) |
float[] |
getPixelAsFloat(DblMatrix x,
DblMatrix y,
DblMatrix z) |
java.awt.Shape |
getShape() |
boolean |
getSilent() |
DblMatrix |
getXBounds()
This default implementation of getXBounds returns a vector of zeros,
essentially giving the object a reported size of zero.
|
DblMatrix |
getXLim() |
DblMatrix |
getYBounds()
This default implementation of getYBounds returns a vector of zeros,
essentially giving the object a reported size of zero.
|
DblMatrix |
getYLim() |
DblMatrix |
getZLim() |
boolean |
hasChild(SLComponent b) |
void |
paintDirectPixels(java.awt.Graphics g) |
void |
paintSL() |
void |
paintSL(java.awt.Graphics g) |
void |
setEdgeColor(java.awt.Color col) |
void |
setEdgeWidth(int pt) |
void |
setFaceColor(java.awt.Color col) |
void |
setFacePaint(SLPaint pnt) |
void |
setSilent(boolean x) |
void |
setXData(DblMatrix X) |
void |
setYData(DblMatrix Y) |
void |
setZData(DblMatrix Z) |
getName, getZBounds, isSelected, paint, seenIntersecting, setName, setSelected, superComponentPaintaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, 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, updateUIadd, 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, validateTreeaction, 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, 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, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic SLPolyRegion(SLComponent parent)
public SLPolyRegion(SLLocator locator, SLComponent parent)
public boolean contains(DblMatrix coords)
public void setFaceColor(java.awt.Color col)
public void setEdgeColor(java.awt.Color col)
public java.awt.Color getFaceColor()
public java.awt.Color getEdgeColor()
public void setFacePaint(SLPaint pnt)
public SLPaint getFacePaint()
public void setEdgeWidth(int pt)
public int getEdgeWidth()
public DblMatrix getXBounds()
SLComponentgetXBounds in class SLComponentpublic DblMatrix getYBounds()
SLComponentgetYBounds in class SLComponentpublic void setSilent(boolean x)
public boolean getSilent()
public void paintDirectPixels(java.awt.Graphics g)
public void actionPerformed(SLComponentEvent ev)
actionPerformed in class SLComponentpublic java.awt.Graphics getGraphics()
getGraphics in class SLComponentpublic java.util.List getChildren()
getChildren in class SLComponentpublic boolean hasChild(SLComponent b)
hasChild in class SLComponentpublic void addChild(SLComponent b)
addChild in class SLComponentpublic void addGridElement(GridElementStorage x)
public void setXData(DblMatrix X)
public void setYData(DblMatrix Y)
public void setZData(DblMatrix Z)
public void paintSL()
public void paintSL(java.awt.Graphics g)
paintSL in class SLComponentpublic java.awt.Shape getShape()
public DblMatrix getCoordinate(int[] pixel)
getCoordinate in interface SLLocatorpublic DblMatrix getCoordinate(double[] pixel)
getCoordinate in interface SLLocatorpublic float[] getPixelAsFloat(DblMatrix x, DblMatrix y)
getPixelAsFloat in interface SLLocatorpublic float[] getPixelAsFloat(DblMatrix x, DblMatrix y, DblMatrix z)
getPixelAsFloat in interface SLLocatorpublic DblMatrix getPixelAsDbl(DblMatrix x, DblMatrix y)
getPixelAsDbl in interface SLLocatorpublic DblMatrix getPixelAsDbl(DblMatrix x, DblMatrix y, DblMatrix z)
getPixelAsDbl in interface SLLocatorCopyright © 2011, 2013. Daniel P. Dougherty