public class IlvExpandedFrame extends IlvRectangle
IlvGraphic
that displays a solid color surrounded by a rounded border.BOTTOM_LEFT, BOTTOM_RIGHT, drawrect, TOP_LEFT, TOP_RIGHT
Constructor and Description |
---|
IlvExpandedFrame()
Constructs a standard
IlvExpandedFrame . |
IlvExpandedFrame(IlvExpandedFrame source)
Creates a new
IlvExpandedFrame by copying an existing one. |
IlvExpandedFrame(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g,
IlvTransformer t)
Draws the
IlvExpandedFrame . |
double |
getThickness()
Returns the edge thickness.
|
void |
setThickness(double val)
Sets the thickness of the edge.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
applyTransform, boundingBox, contains, copy, getBackground, getCorners, getDefinitionRect, getForeground, getIntersectionWithOutline, getRadius, isCornersZoomable, isFillOn, isStrokeOn, moveResize, resize, setBackground, setCorners, setCornersZoomable, setDefinitionRect, setFillOn, setForeground, setRadius, setStrokeOn, translate
addActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, makeSelection, move, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, rotate, scale, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved, zoomable
public IlvExpandedFrame()
IlvExpandedFrame
.public IlvExpandedFrame(IlvExpandedFrame source)
IlvExpandedFrame
by copying an existing one.source
- The origin object for the copy.public IlvExpandedFrame(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream.IlvReadFileException
- if the format is not correct.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.
Note that even if this is a public method, you should not
call it directly. You should use the write
methods of the manager instead.write
in interface IlvPersistentObject
write
in class IlvRectangle
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.public void setThickness(double val)
val
- The new value.public double getThickness()
public void draw(Graphics g, IlvTransformer t)
IlvExpandedFrame
.draw
in class IlvRectangle
g
- The AWT graphics.t
- The Perforce JViews transformer.IlvGraphic.callDraw(Graphics,IlvTransformer)
,
IlvGraphic.boundingBox(IlvTransformer)
,
IlvGraphic.zoomable()
,
IlvGraphic
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.