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 FormConstructor 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, zoomable
public IlvDefaultManagerFrameGraphic()
IlvDefaultManagerFrameGraphic
.public IlvDefaultManagerFrameGraphic(IlvDefaultManagerFrame frame)
IlvDefaultManagerFrameGraphic
.public IlvDefaultManagerFrameGraphic(IlvInputStream stream) throws IlvReadFileException, IOException
IlvDefaultManagerFrameGraphic
from an IVL input stream.IlvReadFileException
IOException
public void write(IlvOutputStream stream) throws IOException
IlvDefaultManagerFrameGraphic
to an IVL output stream.write
in interface IlvPersistentObject
write
in class IlvGraphic
stream
- 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 IlvGraphic
IlvGraphic
instance.IlvGraphic
public IlvRect boundingBox(IlvTransformer t)
IlvDefaultManagerFrameGraphic
.boundingBox
in class IlvGraphic
t
- 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()
,
IlvGraphic
public void draw(Graphics dst, IlvTransformer t)
IlvDefaultManagerFrameGraphic
.draw
in class IlvGraphic
dst
- The destination Graphics
instance.t
- The transformation used to draw the object.IlvGraphic.callDraw(Graphics,IlvTransformer)
,
IlvGraphic.boundingBox(IlvTransformer)
,
IlvGraphic.zoomable()
,
IlvGraphic
public boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
IlvDefaultManagerFrameGraphic
.contains
in class IlvGraphic
p
- 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.IlvGraphic
public void applyTransform(IlvTransformer t)
IlvDefaultManagerFrameGraphic
.applyTransform
in class IlvGraphic
t
- The transformation to be applied.IlvGraphic
public void moveResize(IlvRect rect)
IlvDefaultManagerFrameGraphic
.moveResize
in class IlvGraphic
rect
- 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 IlvGraphic
color
- The new foreground color.IlvGraphic.draw(Graphics, IlvTransformer)
,
IlvGraphic.setBackground(Color)
,
IlvGraphic.setFillOn(boolean)
,
IlvGraphic.setStrokeOn(boolean)
,
IlvGraphic
public 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 IlvBaseTextDirectionInterface
setBaseTextDirection
in class IlvGraphic
baseTextDirection
- The base text directionIlvGraphic.baseTextDirectionChanged(int, int)
protected void setBaseTextDirectionDuringConstruction(int baseTextDirection)
setBaseTextDirectionDuringConstruction
in class IlvGraphic
baseTextDirection
- The base text directionpublic int getBaseTextDirection()
getBaseTextDirection
in interface IlvBaseTextDirectionInterface
getBaseTextDirection
in class IlvGraphic
public int getResolvedBaseTextDirection()
getResolvedBaseTextDirection
in interface IlvBaseTextDirectionInterface
getResolvedBaseTextDirection
in class IlvGraphic
public void baseTextDirectionChanged(int oldBaseTextDirection, int newBaseTextDirection)
baseTextDirectionChanged
in class IlvGraphic
oldBaseTextDirection
- 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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.