public class RJButtonOrLabelShape extends RJTextShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RJButtonOrLabelShape(javax.swing.JComponent c)
Creates a new button or label shape.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDrag(java.awt.dnd.DropTargetDragEvent dragEvent)
Editor method.
|
void |
dragAtPoint(java.awt.dnd.DropTargetDragEvent dropEvent,
RMPoint aPoint)
Editor method.
|
void |
dragExit()
Editor method.
|
void |
dropAtPoint(java.awt.dnd.DropTargetDropEvent dropEvent,
RMPoint aPoint)
Editor method.
|
javax.swing.Icon |
getCurrentIcon()
Returns the button or label's current icon.
|
void |
setCurrentIcon(javax.swing.Icon ic)
Sets the button or labels current icon.
|
childrenSuperSelectImmediately, getAlign, getText, setAlign, setFont, setText, superSelectable
clone, cloneDeep, dropKeyAtPoint, equals, findParentPanel, fromXML, getAutosizing, getBorder, getBoundsInsideInset, getChildRB, getClipRect, getComponent, getDefaultMaximumSize, getDefaultMinimumSize, getFont, getImage, getMaximumSize, getMinimumSize, getName, getToolClassName, getToolTipText, paintImage, paintImageOverkill, paintShape, recache, recacheDeep, setAutosizing, setBorder, setClipsChildren, setComponent, setFill, setHeight, setMaximumSize, setMinimumSize, setName, setToolTipText, setWidth, setX, setY, super_fromXML, toXML
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidthDeep, setWidthDeep, setWidthToFit, setXY, setXY, setXYP, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
didUndo, getAnimAttribute, getClassNameShort
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
paintShape
getSize
public RJButtonOrLabelShape(javax.swing.JComponent c)
public javax.swing.Icon getCurrentIcon()
public void setCurrentIcon(javax.swing.Icon ic)
public boolean acceptsDrag(java.awt.dnd.DropTargetDragEvent dragEvent)
acceptsDrag
in class RJShape
public void dragAtPoint(java.awt.dnd.DropTargetDragEvent dropEvent, RMPoint aPoint)
dragAtPoint
in class RJShape
public void dragExit()
RJShape
public void dropAtPoint(java.awt.dnd.DropTargetDropEvent dropEvent, RMPoint aPoint)
RJShape
dropAtPoint
in class RJShape