public class IlvFilledLabel extends IlvLabel
Constructor and Description |
---|
IlvFilledLabel()
Creates a new
IlvFilledLabel with a center in (0, 0)
and an empty label. |
IlvFilledLabel(IlvFilledLabel source)
Creates a new IlvFilledLabel by copying an existing one.
|
IlvFilledLabel(IlvInputStream stream)
Reads the object from an IlvInputStream.
|
IlvFilledLabel(IlvPoint center,
String label)
Creates a new IlvFilledLabel.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
copy()
Copies the object.
|
void |
draw(Graphics dst,
IlvTransformer t)
Draws the object.
|
Color |
getBackground()
Returns the background color of the object.
|
void |
setBackground(Color color)
Changes the background color of the object.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
applyTransform, baseTextDirectionChanged, boundingBox, componentOrientationChanged, contains, getCaretShape, getCenter, getFont, getForeground, getLabel, getLabelBBox, isAntialiasing, isBaseTextDirectionSensitive, lineCount, lineOffset, makeSelection, pickCharacter, setAntialiasing, setCenter, setFont, setForeground, setLabel, supportMultiline, toString, usesBidiMarkers, zoomable
calcResolvedBaseTextDirection, getBaseTextDirection, getComponentOrientation, getResolvedBaseTextDirection, getULocale, invalidateBidiCache, setBaseTextDirection, setBaseTextDirection, setBaseTextDirectionDuringConstruction
addActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, translate, updateNeedsViewNotification, viewAddedOrRemoved
public IlvFilledLabel()
IlvFilledLabel
with a center in (0, 0)
and an empty label.IlvFilledLabel(IlvPoint, String)
public IlvFilledLabel(IlvPoint center, String label)
center
- the center point of the object.label
- the label of the object.public IlvFilledLabel(IlvFilledLabel source)
source
- the origin object for the copy.public IlvFilledLabel(IlvInputStream stream) throws IlvReadFileException
stream
- the input stream.IlvReadFileException
- if the format is not correct.public IlvGraphic copy()
copy
in class IlvLabel
IlvGraphic
public void draw(Graphics dst, IlvTransformer t)
draw
in class IlvLabel
dst
- The destination Graphics.t
- The transformation used to draw the object.IlvGraphic.callDraw(Graphics,IlvTransformer)
,
IlvGraphic.boundingBox(IlvTransformer)
,
IlvGraphic.zoomable()
,
IlvGraphic
public void setBackground(Color color)
IlvBlinkingColor
.setBackground
in class IlvGraphic
color
- the new color.getBackground()
public Color getBackground()
setBackground(java.awt.Color)
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.write
in interface IlvPersistentObject
write
in class IlvLabel
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.