|
RSE Release 3.2 |
|||||||||
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.rse.ui.widgets.InheritControl
public class InheritControl
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
InheritableEntryField
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Composite |
---|
embeddedHandle |
Fields inherited from class org.eclipse.swt.widgets.Widget |
---|
handle |
Constructor Summary | |
---|---|
InheritControl(Composite parent,
int style)
Deprecated. Constructor. |
Method Summary | |
---|---|
void |
addSelectionListener(SelectionListener listener)
Deprecated. Add a listener that is called whenever the left or right side is selected. |
boolean |
isLocal()
Deprecated. Returns true if the right-side is selected, false if the left is selected |
void |
removeSelectionListener(SelectionListener listener)
Deprecated. Remove a previously set selection listener. |
void |
setLocal(boolean l)
Deprecated. Programmatically select left (false) or right/local (true) arrow. |
void |
setToolTipText(String tip)
Deprecated. Set tooltip text (hover help) |
void |
widgetDisposed(DisposeEvent e)
Deprecated. Private hook called by system when this widget is disposed. |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, 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.Widget |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InheritControl(Composite parent, int style)
parent
- Composite to place this widget intostyle
- Widget style. Passed on to
constructor
of parent class CompositeMethod Detail |
---|
public void addSelectionListener(SelectionListener listener)
Call isLocal()
to determine if left (false) or right (true) was pressed.
addSelectionListener(SelectionListener)
public boolean isLocal()
public void removeSelectionListener(SelectionListener listener)
addSelectionListener(SelectionListener)
public void setLocal(boolean l)
public void setToolTipText(String tip)
setToolTipText
in class Control
public void widgetDisposed(DisposeEvent e)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |