public class IlvDefaultManagerFrameGraphic extends IlvGraphic
IlvDefaultManagerFrame
in an IlvGraphic. It makes it possible to use a default
manager frame for subgraphs created by the SDM SubGraph renderer.
An IlvDefaultManagerFrameGraphic is an IlvGraphic version
of an IlvDefaultManagerFrame. It has the same look and the same properties.
IlvSubGraphRenderer,
IlvDefaultManagerFrame,
IlvManager,
Serialized Form| Constructor and Description |
|---|
IlvDefaultManagerFrameGraphic()
Creates a new
IlvDefaultManagerFrameGraphic. |
IlvDefaultManagerFrameGraphic(IlvDefaultManagerFrame frame)
Creates a new
IlvDefaultManagerFrameGraphic. |
IlvDefaultManagerFrameGraphic(IlvInputStream stream)
Reads an
IlvDefaultManagerFrameGraphic from an IVL input stream. |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(IlvTransformer t)
Applies a transformation to this
IlvDefaultManagerFrameGraphic. |
void |
baseTextDirectionChanged(int oldBaseTextDirection,
int newBaseTextDirection)
|
IlvRect |
boundingBox(IlvTransformer t)
Returns the bounding box of this
IlvDefaultManagerFrameGraphic. |
boolean |
contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Tests if the specified point is contained in this
IlvDefaultManagerFrameGraphic. |
IlvGraphic |
copy()
Returns a copy of this
IlvDefaultManagerFrameGraphic. |
void |
draw(Graphics dst,
IlvTransformer t)
Draws this
IlvDefaultManagerFrameGraphic. |
Paint |
getBackground()
|
int |
getBaseTextDirection()
|
Font |
getFont()
|
Color |
getForeground()
|
IlvDefaultManagerFrame |
getManagerFrame()
Returns the
IlvDefaultManagerFrame wrapped in this IlvDefaultManagerFrameGraphic. |
int |
getResolvedBaseTextDirection()
|
String |
getTitle()
|
Color |
getTitleColor()
|
int |
getTitleJustification()
|
boolean |
isBaseTextDirectionSensitive()
|
boolean |
isOpaque()
|
boolean |
isShowingTitle()
|
void |
moveResize(IlvRect rect)
Reshapes this
IlvDefaultManagerFrameGraphic. |
void |
setBackground(Paint p)
|
void |
setBaseTextDirection(int baseTextDirection)
|
protected void |
setBaseTextDirectionDuringConstruction(int baseTextDirection)
|
void |
setFont(Font font)
|
void |
setForeground(Color color)
|
void |
setManagerFrame(IlvDefaultManagerFrame frame)
Changes the
IlvDefaultManagerFrame wrapped in this IlvDefaultManagerFrameGraphic. |
void |
setOpaque(boolean value)
|
void |
setShowingTitle(boolean set)
|
void |
setTitle(String title)
|
void |
setTitleColor(Color color)
|
void |
setTitleJustification(int value)
|
void |
write(IlvOutputStream stream)
Writes an
IlvDefaultManagerFrameGraphic to an IVL output stream. |
addActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, makeSelection, move, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved, zoomablepublic IlvDefaultManagerFrameGraphic()
IlvDefaultManagerFrameGraphic.public IlvDefaultManagerFrameGraphic(IlvDefaultManagerFrame frame)
IlvDefaultManagerFrameGraphic.public IlvDefaultManagerFrameGraphic(IlvInputStream stream) throws IlvReadFileException, IOException
IlvDefaultManagerFrameGraphic from an IVL input stream.IlvReadFileExceptionIOExceptionpublic void write(IlvOutputStream stream) throws IOException
IlvDefaultManagerFrameGraphic to an IVL output stream.write in interface IlvPersistentObjectwrite in class IlvGraphicstream - The output stream to write this graphic object to.IOException - thrown when an exception occurs during
the write operation for this object.public IlvGraphic copy()
IlvDefaultManagerFrameGraphic.copy in class IlvGraphicIlvGraphic instance.IlvGraphicpublic IlvRect boundingBox(IlvTransformer t)
IlvDefaultManagerFrameGraphic.boundingBox in class IlvGraphict - The transformer used to draw the object. If the
transformer is null, the bounding box for the
identity transformer is returned.IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic void draw(Graphics dst, IlvTransformer t)
IlvDefaultManagerFrameGraphic.draw in class IlvGraphicdst - The destination Graphics instance.t - The transformation used to draw the object.IlvGraphic.callDraw(Graphics,IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
IlvDefaultManagerFrameGraphic.contains in class IlvGraphicp - The point to be tested.tp - The point p transformed by the transformer
t.t - The transformation used to draw the object.true if the point lies inside this graphic object.IlvGraphicpublic void applyTransform(IlvTransformer t)
IlvDefaultManagerFrameGraphic.applyTransform in class IlvGraphict - The transformation to be applied.IlvGraphicpublic void moveResize(IlvRect rect)
IlvDefaultManagerFrameGraphic.moveResize in class IlvGraphicrect - The new bounding rectangle for this object.IlvGraphic,
IlvGraphic.applyTransform(IlvTransformer)public void setManagerFrame(IlvDefaultManagerFrame frame)
IlvDefaultManagerFrame wrapped in this IlvDefaultManagerFrameGraphic.public IlvDefaultManagerFrame getManagerFrame()
IlvDefaultManagerFrame wrapped in this IlvDefaultManagerFrameGraphic.public boolean isOpaque()
public void setOpaque(boolean value)
public Color getTitleColor()
public void setTitleColor(Color color)
public Font getFont()
public void setFont(Font font)
public Paint getBackground()
public void setBackground(Paint p)
public Color getForeground()
public void setForeground(Color color)
setForeground in class IlvGraphiccolor - The new foreground color.IlvGraphic.draw(Graphics, IlvTransformer),
IlvGraphic.setBackground(Color),
IlvGraphic.setFillOn(boolean),
IlvGraphic.setStrokeOn(boolean),
IlvGraphicpublic boolean isShowingTitle()
public void setShowingTitle(boolean set)
public void setTitleJustification(int value)
public int getTitleJustification()
public void setTitle(String title)
public String getTitle()
public void setBaseTextDirection(int baseTextDirection)
setBaseTextDirection in interface IlvBaseTextDirectionInterfacesetBaseTextDirection in class IlvGraphicbaseTextDirection - The base text directionIlvGraphic.baseTextDirectionChanged(int, int)protected void setBaseTextDirectionDuringConstruction(int baseTextDirection)
setBaseTextDirectionDuringConstruction in class IlvGraphicbaseTextDirection - The base text directionpublic int getBaseTextDirection()
getBaseTextDirection in interface IlvBaseTextDirectionInterfacegetBaseTextDirection in class IlvGraphicpublic int getResolvedBaseTextDirection()
getResolvedBaseTextDirection in interface IlvBaseTextDirectionInterfacegetResolvedBaseTextDirection in class IlvGraphicpublic void baseTextDirectionChanged(int oldBaseTextDirection,
int newBaseTextDirection)
baseTextDirectionChanged in class IlvGraphicoldBaseTextDirection - Resolved base text direction of this object before the change.newBaseTextDirection - Resolved base text direction of this object after the change.IlvGraphic.isBaseTextDirectionSensitive()public boolean isBaseTextDirectionSensitive()
isBaseTextDirectionSensitive in class IlvGraphic© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.