|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
ilog.cpl.graph.action.toolbar.IlpGraphInteractorButton
public abstract class IlpGraphInteractorButton
This button sets an interactor on the view. The button remains highlighted as long as the interactor is active.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JToggleButton |
|---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| 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 javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
protected |
IlpGraphInteractorButton()
Constructor for use by subclasses. |
| Method Summary | |
|---|---|
IlpViewsViewInteractor |
getIlpInteractor()
Gets the associated ILOG JTGO interactor. |
IlvManagerViewInteractor |
getIlvInteractor()
Gets the associated ILOG JViews interactor. |
Point |
getLocationOnScreen()
Returns the location of the top left corner of this button in screen coordinates. |
IlpPopupMenuFactory |
getPopupMenuFactory()
Retrieves the pop-up menu factory used to create a pop-up menu using this interactor, if any. |
protected void |
init()
|
protected void |
init(IlpViewsView view,
String iconLocation,
String tooltip)
|
boolean |
isUsingObjectInteractor()
Indicates whether the events that occur on an IlpGraphic
or a representation object are delegated to an IlpObjectInteractor. |
boolean |
isXORGhost()
Returns the ghost drawing mode. |
void |
setPopupMenuFactory(IlpPopupMenuFactory factory)
Sets the pop-up menu factory to be used to create a pop-up menu. |
void |
setUsingObjectInteractor(boolean use)
Specifies whether the events that occur on an IlpGraphic
or a representation object should be delegated to an
IlpObjectInteractor. |
void |
setXORGhost(boolean xorGhost)
Sets the ghost drawing mode. |
| Methods inherited from class javax.swing.JToggleButton |
|---|
getAccessibleContext, getUIClassID, paramString, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected IlpGraphInteractorButton()
| Method Detail |
|---|
protected void init()
protected void init(IlpViewsView view,
String iconLocation,
String tooltip)
public IlvManagerViewInteractor getIlvInteractor()
public IlpViewsViewInteractor getIlpInteractor()
public boolean isUsingObjectInteractor()
IlpGraphic
or a representation object are delegated to an IlpObjectInteractor.
The default value is true.
setUsingObjectInteractor(boolean)public void setUsingObjectInteractor(boolean use)
IlpGraphic
or a representation object should be delegated to an
IlpObjectInteractor.
use - Specifies whether the interactor delegates events.isUsingObjectInteractor()public IlpPopupMenuFactory getPopupMenuFactory()
setPopupMenuFactory(ilog.cpl.interactor.IlpPopupMenuFactory)public void setPopupMenuFactory(IlpPopupMenuFactory factory)
factory - The factory to be used to create a pop-up menu.
If this parameter equals null, no
pop-up menu will be displayed.getPopupMenuFactory()public boolean isXORGhost()
true.
true if the ghost is drawn using XOR;
false if it is drawn using Paint.public void setXORGhost(boolean xorGhost)
XOR
or Paint. By default it is drawn using XOR.
xorGhost - true to draw the ghost using
XOR; false to draw the ghost
using Paint.public Point getLocationOnScreen()
getLocationOnScreen in class Component
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||