public abstract class AbstractGraph
extends org.eclipse.swt.widgets.Composite
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.widgets.Canvas |
canvas |
protected org.eclipse.swt.widgets.ScrollBar |
hori |
protected Point |
iconoffset |
protected float |
magnification |
protected Point |
noteoffset |
protected Point |
offset |
protected org.eclipse.swt.widgets.ScrollBar |
vert |
protected org.pentaho.ui.xul.XulDomContainer |
xulDomContainer |
protected org.eclipse.swt.widgets.Combo |
zoomLabel |
Constructor and Description |
---|
AbstractGraph(org.eclipse.swt.widgets.Composite parent,
int style) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected <T extends GUIPositionInterface> |
doRightClickSelection(T clicked,
List<T> selection) |
boolean |
forceFocus() |
protected Point |
getArea() |
ChangedWarningInterface |
getChangedWarning()
Gets the ChangedWarning for the given TabItemInterface class.
|
protected abstract Point |
getOffset() |
protected Point |
getOffset(Point thumb,
Point area) |
protected Point |
getThumb(Point area,
Point transMax) |
protected Point |
magnifyPoint(Point p) |
Point |
real2screen(int x,
int y) |
void |
redraw() |
Point |
screen2real(int x,
int y) |
boolean |
setFocus() |
protected void |
setZoomLabel() |
int |
showChangedWarning() |
int |
showChangedWarning(String fileName)
Show the ChangedWarning and return the users selection
|
int |
sign(int n) |
void |
zoom100Percent() |
void |
zoomIn() |
void |
zoomOut() |
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
protected Point offset
protected Point iconoffset
protected Point noteoffset
protected org.eclipse.swt.widgets.ScrollBar vert
protected org.eclipse.swt.widgets.ScrollBar hori
protected org.eclipse.swt.widgets.Canvas canvas
protected float magnification
protected org.eclipse.swt.widgets.Combo zoomLabel
protected org.pentaho.ui.xul.XulDomContainer xulDomContainer
public AbstractGraph(org.eclipse.swt.widgets.Composite parent, int style)
protected abstract Point getOffset()
public int sign(int n)
protected Point getArea()
protected void setZoomLabel()
protected <T extends GUIPositionInterface> void doRightClickSelection(T clicked, List<T> selection)
public void redraw()
redraw
in class org.eclipse.swt.widgets.Control
public void zoomIn()
public void zoomOut()
public void zoom100Percent()
public Point screen2real(int x, int y)
public Point real2screen(int x, int y)
public boolean setFocus()
setFocus
in class org.eclipse.swt.widgets.Composite
public boolean forceFocus()
forceFocus
in class org.eclipse.swt.widgets.Control
public ChangedWarningInterface getChangedWarning()
public int showChangedWarning(String fileName) throws KettleException
KettleException
public int showChangedWarning() throws KettleException
KettleException
public void dispose()
dispose
in class org.eclipse.swt.widgets.Widget
Copyright © 2019 Hitachi Vantara. All rights reserved.