|
org.eclipse.rse.ui.widgets
Class InheritControl
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.rse.ui.widgets.InheritControl
-
All Implemented Interfaces:
-
Drawable
Deprecated.
-
public class InheritControl
- extends
Composite
A widget like the old ET/400 inherit/override widget.
There are left and right arrows beside each other.
Typically, clicking on left means to inherit from parent,
clicking on right means to override locally.
However, the control can be used for any binary decision!
THIS IS NOT USED AND NOT WORKING. USE INHERITABLEENTRYFIELD INSTEAD
-
See Also:
-
InheritableEntryField
Fields inherited from class org.eclipse.swt.widgets.
Widget
|
handle
|
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.
Control
|
addControlListener,
addDragDetectListener,
addFocusListener,
addHelpListener,
addKeyListener,
addMenuDetectListener,
addMouseListener,
addMouseMoveListener,
addMouseTrackListener,
addMouseWheelListener,
addPaintListener,
addTraverseListener,
computeSize,
dragDetect,
dragDetect,
forceFocus,
getAccessible,
getBackground,
getBackgroundImage,
getBounds,
getCursor,
getData,
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,
setFont,
setForeground,
setLayoutData,
setLocation,
setLocation,
setMenu,
setParent,
setRedraw,
setRegion,
setSize,
setSize,
setVisible,
toControl,
toControl,
toDisplay,
toDisplay,
traverse,
update
|
Methods inherited from class org.eclipse.swt.widgets.
Widget
|
addDisposeListener,
addListener,
checkWidget,
dispose,
getData,
getDisplay,
getListeners,
getStyle,
isDisposed,
isListening,
notifyListeners,
removeDisposeListener,
removeListener,
removeListener,
setData,
setData,
toString
|
InheritControl
public InheritControl(
Composite parent,
int style)
-
Deprecated.
- Constructor.
-
Parameters:
-
parent - Composite to place this widget into -
style - Widget style. Passed on to
constructor of parent class Composite
addSelectionListener
public void addSelectionListener(
SelectionListener listener)
-
Deprecated.
- Add a listener that is called whenever the left or right side is selected.
Call
isLocal() to determine if left (false) or right (true) was pressed.
-
-
See Also:
-
addSelectionListener(SelectionListener)
isLocal
public boolean isLocal()
-
Deprecated.
- Returns true if the right-side is selected, false if the left is selected
-
removeSelectionListener
public void removeSelectionListener(
SelectionListener listener)
-
Deprecated.
- Remove a previously set selection listener.
-
-
See Also:
-
addSelectionListener(SelectionListener)
setLocal
public void setLocal(boolean l)
-
Deprecated.
- Programmatically select left (false) or right/local (true) arrow.
-
setToolTipText
public void setToolTipText(
String tip)
-
Deprecated.
- Set tooltip text (hover help)
-
-
Overrides:
-
setToolTipText
in class
Control
-
widgetDisposed
public void widgetDisposed(
DisposeEvent e)
-
Deprecated.
- Private hook called by system when this widget is disposed.
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|