|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.tptp.platform.report.ui.swt.widgets.internal.NoOverviewScrollView
org.eclipse.tptp.platform.report.birt).
public class NoOverviewScrollView
ScrollView widget provides a scrolling area with on-demand scroll bars
| Field Summary | |
|---|---|
static int |
ALWAYS_OFF
Deprecated. |
static int |
ALWAYS_ON
Deprecated. |
static int |
AUTO
Deprecated. Value for scroll bar mode, default is AUTO |
| Fields inherited from class org.eclipse.swt.widgets.Composite |
|---|
embeddedHandle |
| Fields inherited from class org.eclipse.swt.widgets.Widget |
|---|
handle |
| Constructor Summary | |
|---|---|
NoOverviewScrollView(org.eclipse.swt.widgets.Composite c,
int style)
Deprecated. Create a ScrollView, child of composite c. |
|
| Method Summary | |
|---|---|
protected void |
contentsMouseDoubleClickEvent(org.eclipse.swt.events.MouseEvent e)
Deprecated. Called when user double on contents area. |
protected void |
contentsMouseDownEvent(org.eclipse.swt.events.MouseEvent e)
Deprecated. Called when mouse is on contents area and button is pressed. |
protected void |
contentsMouseMoveEvent(org.eclipse.swt.events.MouseEvent _event)
Deprecated. Called when mouse is on contents area and mode. |
protected void |
contentsMouseUpEvent(org.eclipse.swt.events.MouseEvent _event)
Deprecated. Called when mouse is on contents area and button is released |
org.eclipse.swt.graphics.Point |
contentsToView(int _x,
int _y)
Deprecated. Transform (x,y) point from contents coordinates, to widget coordinates. |
int |
contentsToViewX(int _x)
Deprecated. Transform X axis coordinates from contents to widgets. |
int |
contentsToViewY(int _y)
Deprecated. Transform Y axis coordinates from contents to widgets. |
void |
dispose()
Deprecated. |
protected void |
drawContents(org.eclipse.swt.graphics.GC gc,
int clipx,
int clipy,
int clipw,
int cliph)
Deprecated. Responsible to draw contents area. |
void |
ensureVisible(int _px,
int _py)
Deprecated. Scroll to ensure point(in contents coordinates) is visible. |
void |
ensureVisible(int _x,
int _y,
int _w,
int _h,
int _align)
Deprecated. Make rectangle (_x,_y,_w,_h, in contents coordinates) visible. |
int |
getContentsHeight()
Deprecated. Access method for the contentsHeight property. |
int |
getContentsWidth()
Deprecated. Access method for the contentsWidth property. |
int |
getContentsX()
Deprecated. Access method for the contentsX property. |
int |
getContentsY()
Deprecated. Access method for the contentsY property. |
boolean |
getDragAutoScroll()
Deprecated. Determines if the dragAutoScroll property is true. |
int |
getDragAutoScrollPeriod()
Deprecated. Return auto scroll period. |
int |
getHScrollBarIncrement()
Deprecated. Return horizontal scroll bar increment, default:1 |
int |
getHScrollBarMode()
Deprecated. Access method for the hScrollBarMode property. |
int |
getVisibleHeight()
Deprecated. |
org.eclipse.swt.graphics.Rectangle |
getVisiblePart(int _x,
int _y,
int _w,
int _h)
Deprecated. |
org.eclipse.swt.graphics.Rectangle |
getVisiblePart(org.eclipse.swt.graphics.Rectangle _r)
Deprecated. |
int |
getVisibleWidth()
Deprecated. |
int |
getVScrollBarIncrement()
Deprecated. Return vertical scroll bar increment, default:1 |
int |
getVScrollBarMode()
Deprecated. Access method for the vScrollBarMode property. |
boolean |
isVisible(int _px,
int _py)
Deprecated. |
boolean |
isVisible(int _x,
int _y,
int _w,
int _h)
Deprecated. |
protected void |
keyPressedEvent(org.eclipse.swt.events.KeyEvent _e)
Deprecated. |
protected void |
keyReleasedEvent(org.eclipse.swt.events.KeyEvent _e)
Deprecated. |
static void |
main(java.lang.String[] argv)
Deprecated. |
void |
replaceControlListener(org.eclipse.swt.events.ControlListener nlistener)
Deprecated. Remove the local Listener and add the new listener. |
void |
replaceKeyListener(org.eclipse.swt.events.KeyListener nlistener)
Deprecated. Remove the local Listener and add the new listener. |
void |
replaceMouseListener(org.eclipse.swt.events.MouseListener nlistener)
Deprecated. Remove the local Listener and add the new listener. |
void |
replaceMouseMoveListener(org.eclipse.swt.events.MouseMoveListener nlistener)
Deprecated. Remove the local Listener and add the new listener. |
void |
replacePaintListener(org.eclipse.swt.events.PaintListener nlistener)
Deprecated. Remove the local Listener and add the new listener. |
void |
resizeContents(int _w,
int _h)
Deprecated. Change the size of the contents area. |
void |
scrollBy(int _dx,
int _dy)
Deprecated. |
void |
setContentsPos(int _x,
int _y)
Deprecated. Change top left position of visible area. |
void |
setDragAutoScroll(boolean aDragAutoScroll)
Deprecated. Sets the value of the dragAutoScroll property. |
void |
setDragAutoScrollPeriod(int _period)
Deprecated. Change delay (in millisec) used for auto scroll feature. |
void |
setHScrollBarIncrement(int _inc)
Deprecated. Change horizontal scroll bar increment, minimum:1. |
void |
setHScrollBarMode(int aHScrollBarMode)
Deprecated. Sets the value of the hScrollBarMode property. |
void |
setVScrollBarIncrement(int _inc)
Deprecated. Change vertical scroll bar increment, minimum:1. |
void |
setVScrollBarMode(int aVScrollBarMode)
Deprecated. Sets the value of the vScrollBarMode property. |
void |
updateScrollBars()
Deprecated. Setup scroll bar using contents, visible and scroll bar mode properties. |
protected void |
viewResizeEvent(org.eclipse.swt.events.ControlEvent _event)
Deprecated. Called when ScrollView is resized. |
org.eclipse.swt.graphics.Point |
viewToContents(int _x,
int _y)
Deprecated. Transform (x,y) point in widget coordinates to contents coordinates. |
int |
viewToContentsX(int _x)
Deprecated. |
int |
viewToContentsY(int _y)
Deprecated. |
| Methods inherited from class org.eclipse.swt.widgets.Canvas |
|---|
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int AUTO
public static final int ALWAYS_OFF
public static final int ALWAYS_ON
| Constructor Detail |
|---|
public NoOverviewScrollView(org.eclipse.swt.widgets.Composite c,
int style)
c - style - SWT style bits @see SWT| Method Detail |
|---|
public void dispose()
dispose in class org.eclipse.swt.widgets.Widgetpublic void replaceControlListener(org.eclipse.swt.events.ControlListener nlistener)
nlistener - the new listenerpublic void replaceKeyListener(org.eclipse.swt.events.KeyListener nlistener)
nlistener - the new listenerpublic void replaceMouseListener(org.eclipse.swt.events.MouseListener nlistener)
nlistener - the new listenerpublic void replaceMouseMoveListener(org.eclipse.swt.events.MouseMoveListener nlistener)
nlistener - the new listenerpublic void replacePaintListener(org.eclipse.swt.events.PaintListener nlistener)
nlistener - the new listenerpublic int getContentsHeight()
public int getContentsWidth()
public int getContentsX()
public int getContentsY()
public boolean getDragAutoScroll()
true if the dragAutoScroll property is truepublic void setDragAutoScroll(boolean aDragAutoScroll)
aDragAutoScroll - the new value of the dragAutoScroll propertypublic void setDragAutoScrollPeriod(int _period)
_period - new period between to auto scrollpublic int getDragAutoScrollPeriod()
public int getHScrollBarMode()
public void setHScrollBarMode(int aHScrollBarMode)
aHScrollBarMode - the new value of the hScrollBarMode propertypublic int getVScrollBarMode()
public void setVScrollBarMode(int aVScrollBarMode)
aVScrollBarMode - the new value of the vScrollBarMode propertypublic int getHScrollBarIncrement()
public int getVScrollBarIncrement()
public void setHScrollBarIncrement(int _inc)
public void setVScrollBarIncrement(int _inc)
protected void contentsMouseDoubleClickEvent(org.eclipse.swt.events.MouseEvent e)
e - protected void contentsMouseDownEvent(org.eclipse.swt.events.MouseEvent e)
e - protected void contentsMouseMoveEvent(org.eclipse.swt.events.MouseEvent _event)
_event - protected void contentsMouseUpEvent(org.eclipse.swt.events.MouseEvent _event)
_event -
protected void drawContents(org.eclipse.swt.graphics.GC gc,
int clipx,
int clipy,
int clipw,
int cliph)
gc - clipx - clipy - clipw - cliph -
public void resizeContents(int _w,
int _h)
w - new width of the area.h - new height of the area.
public void scrollBy(int _dx,
int _dy)
_dx - _dy -
public void ensureVisible(int _px,
int _py)
public void ensureVisible(int _x,
int _y,
int _w,
int _h,
int _align)
_x - x contents coordinates of rectangle._y - y contents coordinates of rectangle._w - width of rectangle._h - height of rectangle._align - bit or'ed SWT flag like SWT.LEFT,RIGHT,CENTER,TOP,BOTTOM,VERTICAL
used only for bigger rectangle than visible area.
By default CENTER/VERTICAL
public boolean isVisible(int _px,
int _py)
public boolean isVisible(int _x,
int _y,
int _w,
int _h)
public org.eclipse.swt.graphics.Rectangle getVisiblePart(int _x,
int _y,
int _w,
int _h)
public final org.eclipse.swt.graphics.Rectangle getVisiblePart(org.eclipse.swt.graphics.Rectangle _r)
getVisiblePart
public void setContentsPos(int _x,
int _y)
_x - _y - public void updateScrollBars()
public final org.eclipse.swt.graphics.Point viewToContents(int _x,
int _y)
x - y -
public int viewToContentsX(int _x)
public int viewToContentsY(int _y)
public final org.eclipse.swt.graphics.Point contentsToView(int _x,
int _y)
x - y -
contentsToViewX, contentsToViewYpublic int contentsToViewX(int _x)
_x - contents coordinate to transform
public int contentsToViewY(int _y)
_y - contents coordinate to transform
public int getVisibleHeight()
public int getVisibleWidth()
protected void keyPressedEvent(org.eclipse.swt.events.KeyEvent _e)
protected void keyReleasedEvent(org.eclipse.swt.events.KeyEvent _e)
protected void viewResizeEvent(org.eclipse.swt.events.ControlEvent _event)
_event - public static void main(java.lang.String[] argv)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||