IlpGraphic object instead. Use its
function getComponent() to retrieve a JComponent,
which you can add to any other JComponent.@Deprecated public class IltComponentGraphic extends JComponent implements IltGraphic, IlvGraphicBag, MouseListener, MouseMotionListener
JComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
IltComponentGraphic(IltObject object,
IltGraphicManager manager)
Deprecated.
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(IlvGraphic graphic,
boolean redraw)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
void |
afterComputeGraphic(IltObject object,
IltGraphicManager manager)
Deprecated.
This method is called after computing the graphical representation of the
objects.
|
void |
applyToObject(IlvGraphic graphic,
IlvApplyObject f,
Object arg,
boolean redraw)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
boolean |
contains(int x,
int y)
Deprecated.
Returns if the given coordinates are contained in this component.
|
protected void |
createGraphic(IltObject object,
IltGraphicManager manager)
Deprecated.
Creates the graphical representation of the object in the given graphic manager.
|
void |
dispose()
Deprecated.
Dispose this graphic object.
|
void |
doComputeGraphic(IltObject object,
IltGraphicManager manager,
ilog.tgo.graphic.internal.IltComputeAmount amount)
Deprecated.
Computes the symbolic graphic representation of the object.
|
IlvRect |
getBaseBounds()
Deprecated.
Returns the base bounding box.
|
IlvRect |
getBoundingBox(IlvTransformer t)
Deprecated.
Returns the bounds of the object taking into account its
subitems.
|
IltCompositeGraphic |
getCompositeGraphic()
Deprecated.
Returns the underlying IltCompositeGraphic instance.
|
IlvGraphicBag |
getGraphicBag()
Deprecated.
Implementation of the
IlvGraphicBag interface. |
IltCompositeInteractions |
getInteractions()
Deprecated.
|
IltLegend |
getLegend()
Deprecated.
|
IlvGraphic |
getObject(String name)
Deprecated.
Returns the graphic object with that name if exists in the bag,
otherwise returns
null. |
IlvGraphicEnumeration |
getObjects()
Deprecated.
Implementation of the
IlvGraphicBag interface. |
IltGraphic |
getParentGraphic()
Deprecated.
Returns the graphic object which represents the container this graphic
representation belongs to, in the same IltGraphicManager.
|
Dimension |
getPreferredSize()
Deprecated.
Returns the preferred size for this component.
|
boolean |
isContainerGraphic()
Deprecated.
Returns true if this graphic representation belongs to a container.
|
void |
mouseClicked(MouseEvent e)
Deprecated.
Invoked when the mouse button has been clicked (pressed
and released) on a component.
|
void |
mouseDragged(MouseEvent e)
Deprecated.
Invoked when a mouse button is pressed on a component and then
dragged.
|
void |
mouseEntered(MouseEvent e)
Deprecated.
Invoked when the mouse enters a component.
|
void |
mouseExited(MouseEvent e)
Deprecated.
Invoked when the mouse exits a component.
|
void |
mouseMoved(MouseEvent e)
Deprecated.
Invoked when the mouse cursor has been moved onto a component
but no buttons have been pushed.
|
void |
mousePressed(MouseEvent e)
Deprecated.
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(MouseEvent e)
Deprecated.
Invoked when a mouse button has been released on a component.
|
void |
moveObject(IlvGraphic graphic,
double x,
double y,
boolean redraw)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
protected void |
paintBorder(Graphics g)
Deprecated.
|
protected void |
paintChildren(Graphics g)
Deprecated.
|
protected void |
processMouseEvent(MouseEvent le)
Deprecated.
|
void |
processMouseEvent(MouseEvent le,
MouseEvent ge)
Deprecated.
Process mouse events, forwarding the events to the composite interactions.
|
protected void |
processMouseMotionEvent(MouseEvent e)
Deprecated.
Process mouse motion events, forwarding the events to the tooltip manager, if
there is one attached to the parent container.
|
void |
reDrawObj(IlvGraphic graphic)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
void |
reDrawRegion(IlvRegion region)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
void |
removeObject(IlvGraphic graphic,
boolean redraw)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
void |
reshapeObject(IlvGraphic obj,
IlvRect newrect,
boolean redraw)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
boolean |
setObjectName(IlvGraphic graphic,
String name)
Deprecated.
Implementation of the
IlvGraphicBag interface. |
String |
toString()
Deprecated.
Converts the object into a human-readable format.
|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCyclepublic IltComponentGraphic(IltObject object, IltGraphicManager manager)
protected void createGraphic(IltObject object, IltGraphicManager manager)
public Dimension getPreferredSize()
getPreferredSize in class JComponentpublic boolean contains(int x,
int y)
contains in class JComponentprotected void paintChildren(Graphics g)
paintChildren in class JComponentprotected void paintBorder(Graphics g)
paintBorder in class JComponentprotected void processMouseMotionEvent(MouseEvent e)
processMouseMotionEvent in class JComponentpublic void processMouseEvent(MouseEvent le, MouseEvent ge)
protected void processMouseEvent(MouseEvent le)
processMouseEvent in class JComponentpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic IlvRect getBoundingBox(IlvTransformer t)
t - transformer which is applied in the component.public IlvRect getBaseBounds()
public IltCompositeGraphic getCompositeGraphic()
getCompositeGraphic in interface IltGraphic@Deprecated public IltLegend getLegend()
getLegend in interface IltGraphic@Deprecated public IltCompositeInteractions getInteractions()
getInteractions in interface IltGraphicIltObject.getGraphicInteractions(ilog.tgo.graphic.IltGraphicManager)public boolean isContainerGraphic()
IltGraphicisContainerGraphic in interface IltGraphicpublic IltGraphic getParentGraphic()
IltGraphicgetParentGraphic in interface IltGraphicnull if this graphic representation is not a
subordinate graphic object of a containerpublic void doComputeGraphic(IltObject object, IltGraphicManager manager, ilog.tgo.graphic.internal.IltComputeAmount amount)
doComputeGraphic in interface IltGraphicpublic void afterComputeGraphic(IltObject object, IltGraphicManager manager)
afterComputeGraphic in interface IltGraphicpublic void addObject(IlvGraphic graphic, boolean redraw)
IlvGraphicBag interface.
Do not call this method directly.addObject in interface IlvGraphicBaggraphic - the graphic object.redraw - if true the object is redrawn.public void removeObject(IlvGraphic graphic, boolean redraw)
IlvGraphicBag interface.
Do not call this method directly.removeObject in interface IlvGraphicBaggraphic - the graphic object.redraw - if true the object is redrawn.public void reDrawObj(IlvGraphic graphic)
IlvGraphicBag interface.
Do not call this method directly.reDrawObj in interface IlvGraphicBaggraphic - the graphic object.public void reDrawRegion(IlvRegion region)
IlvGraphicBag interface.
Do not call this method directly.reDrawRegion in interface IlvGraphicBagregion - the region to redraw.public void reshapeObject(IlvGraphic obj, IlvRect newrect, boolean redraw)
IlvGraphicBag interface.
Do not call this method directly.reshapeObject in interface IlvGraphicBagobj - The graphic object.newrect - The new desired bounding rectangle.redraw - If true the object is redrawn.public void moveObject(IlvGraphic graphic, double x, double y, boolean redraw)
IlvGraphicBag interface.
Do not call this method directly.moveObject in interface IlvGraphicBaggraphic - The graphic object.x - The new desired x position.y - The new desired y position.redraw - If true the object is redrawn.public void applyToObject(IlvGraphic graphic, IlvApplyObject f, Object arg, boolean redraw)
IlvGraphicBag interface.
Do not call this method directly.applyToObject in interface IlvGraphicBaggraphic - the graphic object.f - the method to apply.arg - the arguments passed to f.redraw - if true the object is redrawn.public boolean setObjectName(IlvGraphic graphic, String name)
IlvGraphicBag interface.
Do not call this method directly.setObjectName in interface IlvGraphicBaggraphic - The graphic object.name - The new name.true if the name can be changed.public IlvGraphic getObject(String name)
null.getObject in interface IlvGraphicBagname - The graphic object name.public IlvGraphicBag getGraphicBag()
IlvGraphicBag interface.
Do not call this method directly.getGraphicBag in interface IlvGraphicBagpublic IlvGraphicEnumeration getObjects()
IlvGraphicBag interface.
Do not call this method directly.getObjects in interface IlvGraphicBagIlvGraphic objects, or
null.public void dispose()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.