Class AbstractButtonShape
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.rm.shape.RMShape
com.inductiveautomation.rm.shape.RMParentShape
com.inductiveautomation.rm.swing.shape.JComponentShape
com.inductiveautomation.rm.swing.shape.LabeledShape
com.inductiveautomation.rm.swing.shape.AbstractButtonShape
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- PropertyChangeListener,- Cloneable,- EventListener
- Direct Known Subclasses:
- JButtonShape,- JMenuItemShape,- JToggleButtonShape
A JComponentShape for AbstractButton.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
- 
Field SummaryFields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidconfigureComponent(JBuilder aBldr, JComponent aComp) Override to apply subclass attributes.protected voidfromXMLShape(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns whether button border is painted.Returns the button group name.Returns whether button content area filled.Returns whether focus is painted.Returns the button margins.Returns the margin string.Returns the pressed image name.getPropertyNameMapped(String aPropertyName) Returns a mapped property name.Returns the selected image name.booleanReturns whether button border is painted.booleanReturns whether button content area filled.booleanReturns whether focus is painted.booleanReturns whether button is selected.voidsetBorderPainted(Boolean aValue) Sets whether button border is painted.voidsetButtonGroupName(String aName) Sets the button group name.voidsetContentAreaFilled(Boolean aValue) Sets whether button content area filled.voidsetFocusPainted(Boolean aValue) Sets whether focus is painted.voidSets the button margins.voidsetMarginString(String aString) Sets the button margin string.voidsetPressedImageName(String aName) Sets the pressed image name.voidsetSelected(boolean aValue) Sets whether button is selected.voidsetSelectedImageName(String aName) Sets the selected image name.protected RXElementtoXMLShape(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.swing.shape.LabeledShapechildrenSuperSelectImmediately, getAlignmentX, getAlignmentY, getHorizontalAlignment, getHorizontalAlignmentDefault, 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, setVerticalTextPositionMethods inherited from class com.inductiveautomation.rm.swing.shape.JComponentShapeacceptsMouse, clone, createComponent, createComponentDeep, dispatchEventToComponent, firePropertyChange, getAction, getAutoscrolls, getBackground, getBorder, getClientProperty, getComponent, getComponentClass, 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, toXMLChildrenMethods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, 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, toXMLMethods inherited from class com.inductiveautomation.rm.shape.RMShapeacceptsChildren, 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, yMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
AbstractButtonShapepublic AbstractButtonShape()
 
- 
- 
Method Details- 
isSelectedpublic boolean isSelected()Returns whether button is selected.
- 
setSelectedpublic void setSelected(boolean aValue) Sets whether button is selected.
- 
getSelectedImageNameReturns the selected image name.
- 
setSelectedImageNameSets the selected image name.
- 
getPressedImageNameReturns the pressed image name.
- 
setPressedImageNameSets the pressed image name.
- 
isBorderPaintedpublic boolean isBorderPainted()Returns whether button border is painted.
- 
getBorderPaintedReturns whether button border is painted.
- 
setBorderPaintedSets whether button border is painted.
- 
isContentAreaFilledpublic boolean isContentAreaFilled()Returns whether button content area filled.
- 
getContentAreaFilledReturns whether button content area filled.
- 
setContentAreaFilledSets whether button content area filled.
- 
isFocusPaintedpublic boolean isFocusPainted()Returns whether focus is painted.
- 
getFocusPaintedReturns whether focus is painted.
- 
setFocusPaintedSets whether focus is painted.
- 
getMarginReturns the button margins.
- 
setMarginSets the button margins.
- 
getMarginStringReturns the margin string.
- 
setMarginStringSets the button margin string.
- 
getButtonGroupNameReturns the button group name.
- 
setButtonGroupNameSets the button group name.
- 
getPropertyNameMappedReturns a mapped property name.- Overrides:
- getPropertyNameMappedin class- RMShape
 
- 
configureComponentOverride to apply subclass attributes.- Overrides:
- configureComponentin class- LabeledShape
 
- 
toXMLShapeXML archival.- Overrides:
- toXMLShapein class- LabeledShape
 
- 
fromXMLShapeXML unarchival.- Overrides:
- fromXMLShapein class- LabeledShape
 
 
-