Class JSliderShape
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- PropertyChangeListener,- Cloneable,- EventListener
An RMShape subclass for JSlider.
- 
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) Configures the component.voidfromXMLShape(RXArchiver anArchiver, RXElement anElement) XML unarchival.Class<? extends JComponent>Returns the component class for this component shape.intReturns the major tick spacing.doubleReturns the maximum.doubleReturns the minimum.intReturns the minor tick spacing.intReturns the orientation of the JSeparator.booleanReturns whether paints labels.booleanReturns whether paints ticks.booleanReturns whether paints track.booleanReturns whether snaps to ticks.doublegetValue()Returns the value.voidsetMajorTickSpacing(int aValue) Sets the major tick spacing.voidsetMaximum(double aValue) Sets the maximum.voidsetMinimum(double aValue) Sets the minimum.voidsetMinorTickSpacing(int aValue) Sets the minor tick spacing.voidsetOrientation(int aValue) Resets the orientation of the separator component and resizes the shape.voidsetPaintLabels(boolean aValue) Sets whether paints labels.voidsetPaintTicks(boolean aValue) Sets whether paints ticks.voidsetPaintTrack(boolean aValue) Sets whether paints track.voidsetSnapToTicks(boolean aValue) Sets whether snaps to ticks.voidsetValue(double aValue) Sets the value.toXMLShape(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.swing.shape.JComponentShapeacceptsMouse, clone, createComponent, createComponentDeep, 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, 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, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, 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, getPropertyNameMapped, 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, setAlignmentX, setAlignmentY, 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- 
JSliderShapepublic JSliderShape()
 
- 
- 
Method Details- 
getMinimumpublic double getMinimum()Returns the minimum.
- 
setMinimumpublic void setMinimum(double aValue) Sets the minimum.
- 
getMaximumpublic double getMaximum()Returns the maximum.
- 
setMaximumpublic void setMaximum(double aValue) Sets the maximum.
- 
getValuepublic double getValue()Returns the value.
- 
setValuepublic void setValue(double aValue) Sets the value.
- 
getPaintLabelspublic boolean getPaintLabels()Returns whether paints labels.
- 
setPaintLabelspublic void setPaintLabels(boolean aValue) Sets whether paints labels.
- 
getPaintTickspublic boolean getPaintTicks()Returns whether paints ticks.
- 
setPaintTickspublic void setPaintTicks(boolean aValue) Sets whether paints ticks.
- 
getPaintTrackpublic boolean getPaintTrack()Returns whether paints track.
- 
setPaintTrackpublic void setPaintTrack(boolean aValue) Sets whether paints track.
- 
getSnapToTickspublic boolean getSnapToTicks()Returns whether snaps to ticks.
- 
setSnapToTickspublic void setSnapToTicks(boolean aValue) Sets whether snaps to ticks.
- 
getMinorTickSpacingpublic int getMinorTickSpacing()Returns the minor tick spacing.
- 
setMinorTickSpacingpublic void setMinorTickSpacing(int aValue) Sets the minor tick spacing.
- 
getMajorTickSpacingpublic int getMajorTickSpacing()Returns the major tick spacing.
- 
setMajorTickSpacingpublic void setMajorTickSpacing(int aValue) Sets the major tick spacing.
- 
getOrientationpublic int getOrientation()Returns the orientation of the JSeparator.
- 
setOrientationpublic void setOrientation(int aValue) Resets the orientation of the separator component and resizes the shape.
- 
getComponentClassReturns the component class for this component shape.- Overrides:
- getComponentClassin class- JComponentShape
 
- 
configureComponentConfigures the component.- Overrides:
- configureComponentin class- JComponentShape
 
- 
toXMLShapeXML archival.- Overrides:
- toXMLShapein class- JComponentShape
 
- 
fromXMLShapeXML unarchival.- Overrides:
- fromXMLShapein class- JComponentShape
 
 
-