public class RJMenuButtonShape extends JLabelShape
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignYBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE| Constructor and Description |
|---|
RJMenuButtonShape() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureComponent(JBuilder aBldr,
javax.swing.JComponent aComp)
Override to apply subclass attributes.
|
protected javax.swing.JComponent |
createComponent()
Override to fix popup point in RMShape space.
|
void |
createComponentDeep(JBuilder aBldr,
javax.swing.JComponent aComp)
Override to add popup menu items
|
void |
fromXMLShape(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
java.lang.Class<? extends javax.swing.JComponent> |
getComponentClass()
Returns the component class for this component shape.
|
java.awt.Point |
getPopupPoint()
Returns the popup point.
|
java.awt.Dimension |
getPopupSize()
Returns the popup size.
|
boolean |
getShowBorder()
Returns whether button shows border.
|
void |
setPopupPoint(java.awt.Point aValue)
Sets the popup point.
|
void |
setPopupSize(java.awt.Dimension aValue)
Sets the popup size.
|
void |
setShowBorder(boolean aValue)
Sets whether button shows border.
|
RXElement |
toXMLShape(RXArchiver anArchiver)
XML archival.
|
getHorizontalAlignmentDefault, getPropertyNameMappedchildrenSuperSelectImmediately, getAlignmentX, getAlignmentY, getHorizontalAlignment, getHorizontalAlignmentInt, getHorizontalAlignmentString, getHorizontalTextPosition, getHorizontalTextPositionInt, getHorizontalTextPositionString, getIcon, getIcon, getIconTextGap, getImageFile, getImageFile, getImageName, getText, getVerticalAlignment, getVerticalAlignmentDefault, getVerticalAlignmentInt, getVerticalAlignmentString, getVerticalTextPosition, getVerticalTextPositionInt, getVerticalTextPositionString, setAlignmentX, setAlignmentY, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setImageName, setText, setVerticalAlignment, setVerticalTextPositionacceptsMouse, clone, dispatchEventToComponent, firePropertyChange, getAction, getAutoscrolls, getBackground, getBorder, getClientProperty, getComponent, getFont, getForeground, getItemDisplayKey, getRealClassName, getSendActionOnFocusLost, getToolTipText, isEnabled, isFontSet, isOpaque, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintShape, putClientProperty, setAction, setAutoscrolls, setBackground, setBorder, setEnabled, setFont, setForeground, setItemDisplayKey, setOpaque, setRealClassName, setSendActionOnFocusLost, setToolTipText, toXMLChildrenaddChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, cloneDeep, computePrefHeight, computePrefWidth, divideShapeFromTop, fromXML, fromXMLChildren, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, layoutChildren, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXMLacceptsChildren, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNames, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDeletable, isDescendant, isEditing, isEnabled, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseFill, isUseStroke, isViewing, isVisible, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgBindings, rpgShape, setAlignment, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, yaddPropertyChangeListener, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListenerpublic boolean getShowBorder()
public void setShowBorder(boolean aValue)
public java.awt.Point getPopupPoint()
public void setPopupPoint(java.awt.Point aValue)
public java.awt.Dimension getPopupSize()
public void setPopupSize(java.awt.Dimension aValue)
public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
getComponentClass in class JLabelShapeprotected javax.swing.JComponent createComponent()
createComponent in class JComponentShapeprotected void configureComponent(JBuilder aBldr, javax.swing.JComponent aComp)
configureComponent in class LabeledShapepublic void createComponentDeep(JBuilder aBldr, javax.swing.JComponent aComp)
createComponentDeep in class JComponentShapepublic RXElement toXMLShape(RXArchiver anArchiver)
toXMLShape in class JLabelShapepublic void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
fromXMLShape in class LabeledShape