|
||||||||||
| PREV CLASS 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
ilog.tgo.swing.IltComponentGraphic
IlpGraphic object instead. Use its
function getComponent() to retrieve a JComponent,
which you can add to any other JComponent.
public class IltComponentGraphic
This class describes a component graphic object used to represent a telecom object in a Swing container.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
static boolean |
verboseComponent
Deprecated. |
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IltComponentGraphic(IltObject object,
IltGraphicManager manager)
Deprecated. Default constructor |
|
| Method Summary | |
|---|---|
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. |
void |
mouseDragged(MouseEvent e)
Deprecated. |
void |
mouseEntered(MouseEvent e)
Deprecated. |
void |
mouseExited(MouseEvent e)
Deprecated. |
void |
mouseMoved(MouseEvent e)
Deprecated. |
void |
mousePressed(MouseEvent e)
Deprecated. |
void |
mouseReleased(MouseEvent e)
Deprecated. |
void |
moveObject(IlvGraphic graphic,
float x,
float 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean verboseComponent
| Constructor Detail |
|---|
public IltComponentGraphic(IltObject object,
IltGraphicManager manager)
| Method Detail |
|---|
protected void createGraphic(IltObject object,
IltGraphicManager manager)
public Dimension getPreferredSize()
getPreferredSize in class JComponent
public 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 JComponent
public 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 IltGraphicpublic IltLegend getLegend()
getLegend in interface IltGraphicpublic IltCompositeInteractions getInteractions()
getInteractions in interface IltGraphicIltObject.getGraphicInteractions(ilog.tgo.graphic.IltGraphicManager)public boolean isContainerGraphic()
IltGraphic
isContainerGraphic in interface IltGraphicpublic IltGraphic getParentGraphic()
IltGraphic
getParentGraphic in interface IltGraphicnull if this graphic representation is not a
subordinate graphic object of a container
public void doComputeGraphic(IltObject object,
IltGraphicManager manager,
ilog.tgo.graphic.internal.IltComputeAmount amount)
doComputeGraphic in interface IltGraphic
public void afterComputeGraphic(IltObject object,
IltGraphicManager manager)
afterComputeGraphic in interface IltGraphic
public 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,
float x,
float 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 IlvGraphicBagpublic void dispose()
public String toString()