|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent Landmark.LmsWizardPopup.DisplayZoomedImg
class LmsWizardPopup.DisplayZoomedImg
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
int |
canvasHeight
canvas height |
int |
canvasWidth
canvas width |
int |
centerPtX
center point X |
int |
centerPtY
center point Y |
java.awt.Dimension |
curDim
keep track size, resizing window |
DrawOverlays |
dol
instance of DrawOverlays |
boolean |
drawOverlayBordersFlag
for drawing a border around separate window |
int |
dx1
destination window x1 coord |
int |
dx2
destination window x2 coord |
int |
dy1
destination window y1 coord |
int |
dy2
destination window y2 coord |
java.lang.String |
flickerTitle
title for rt flicker window |
boolean |
flickerWindFlag
if flicker window or rt window flag |
java.awt.Image |
img
image to display |
int |
origPixHeight
original picture height |
int |
origPixWidth
original picture width |
java.awt.Dimension |
preferedSize
preferred size of canvas |
int |
preferredHeight
preferred size of canvas |
int |
preferredWidth
preferred size of canvas |
(package private) static long |
serialVersionUID
frame id |
int |
sx1
source window x1 coord |
int |
sx2
source window x2 coord |
int |
sy1
source window y1 coord |
int |
sy2
source window y2 coord |
java.lang.String |
title
title |
(package private) int |
tSize
target Size |
int |
xImg
image address (x,y)+(xBase,yBase) |
int |
yImg
image address (x,y)+(xBase,yBase) |
int |
zoomFactor
zoom factor |
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 | |
---|---|
LmsWizardPopup.DisplayZoomedImg(java.awt.Image img,
int canvasWidth,
int canvasHeight,
int xImg,
int yImg,
int origPixWidth,
int origPixHeight,
boolean drawOverlayBordersFlag,
java.lang.String title)
DisplayZoomedImg() - constructor. |
Method Summary | |
---|---|
private void |
drawTargetOverlay(java.awt.Graphics g)
drawTargetOverlay() - Draw Target Overlay in the window. |
java.awt.Dimension |
getMaximumSize()
getMaximumSize() - getMaximumSize, must be implemented for window to be displayed correctly. |
java.awt.Dimension |
getMinimumSize()
getMinimumSize() - getMinimumSize, must be implemented for window to be displayed correctly. |
java.awt.Dimension |
getPreferredSize()
getPreferredSize() - getPreferredSize, must be implemented for window to be displayed correctly. |
protected void |
paintComponent(java.awt.Graphics g)
paintComponent() - paint the image wizard zoom panels |
boolean |
setImage(java.awt.Image img,
int xImg,
int yImg,
int zoomFactor)
setImage() - reset image center on new coords |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, updateUI |
Methods inherited from class java.awt.Container |
---|
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, 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, 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, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
public java.awt.Image img
public java.awt.Dimension curDim
public int canvasWidth
public int canvasHeight
public int xImg
public int yImg
public int centerPtX
public int centerPtY
public java.awt.Dimension preferedSize
public int preferredWidth
public int preferredHeight
final int tSize
public int zoomFactor
public DrawOverlays dol
public int origPixWidth
public int origPixHeight
public int dx1
public int dy1
public int dx2
public int dy2
public int sx1
public int sy1
public int sx2
public int sy2
public boolean drawOverlayBordersFlag
public java.lang.String title
public boolean flickerWindFlag
public java.lang.String flickerTitle
Constructor Detail |
---|
public LmsWizardPopup.DisplayZoomedImg(java.awt.Image img, int canvasWidth, int canvasHeight, int xImg, int yImg, int origPixWidth, int origPixHeight, boolean drawOverlayBordersFlag, java.lang.String title)
img
- image to be displayedcanvasWidth
- width of jpanelcanvasHeight
- height of jpanelxImg
- x coord where user clicked to zoom aroundyImg
- y coord where user clicked to zoom aroundorigPixWidth
- orig width of imgorigPixHeight
- orig height of imgMethod Detail |
---|
public boolean setImage(java.awt.Image img, int xImg, int yImg, int zoomFactor)
img
- new imagexImg
- x image address (x,y)+(xBase,yBase)yImg
- y image address (x,y)+(xBase,yBase)zoomFactor
- zoom factorprotected void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
g
- is graphics context.private void drawTargetOverlay(java.awt.Graphics g)
g
- Graphics context.public java.awt.Dimension getMaximumSize()
getMaximumSize
in class javax.swing.JComponent
public java.awt.Dimension getMinimumSize()
getMinimumSize
in class javax.swing.JComponent
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |