Class JScrollPaneShape
- 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.JScrollPaneShape
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 
 public class JScrollPaneShape extends JComponentShape A JComponentShape subclass to represent a JScrollPane.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description JScrollPaneShape()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchildrenSuperSelectImmediately()Overrides default implementation to indicate children should super select immediately.protected voidconfigureComponent(JBuilder aBldr, javax.swing.JComponent aComp)Configures the component.voidcreateComponentDeep(JBuilder aBldr, javax.swing.JComponent aComp)Returns the component deep.voidfromXMLShape(RXArchiver anArchiver, RXElement anElement)XML unarchival.RMRectgetBoundsMarkedDeep()Override to account for fact that scroll pane clips viewport shape.java.lang.Class<? extends javax.swing.JComponent>getComponentClass()Returns the component class for this component shape.intgetHorizontalScrollBarPolicy()Returns the horizontal scrollbar policy.intgetVerticalScrollBarPolicy()Returns the vertical scrollbar policy.JComponentShapegetViewportViewShape()Returns the shape that is scrolling.voidsetHeight(double aHeight)Override default implementation to deal with viewport view shape.voidsetHorizontalScrollBarPolicy(int aValue)Sets the horizontal scrollbar policy.voidsetVerticalScrollBarPolicy(int aValue)Sets the vertical scrollbar policy.voidsetWidth(double aWidth)Override default implementation to deal with viewport view shape.booleansuperSelectable()Overrides default implementation to indicate shape is super selectable.voidtoXMLChildren(RXArchiver anArchiver, RXElement anElement)XML archival deep.RXElementtoXMLShape(RXArchiver anArchiver)XML archival.- 
Methods inherited from class com.inductiveautomation.rm.swing.shape.JComponentShapeacceptsMouse, clone, createComponent, 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
 - 
Methods 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, setLayout, setNeedsLayout, setSourceURL, toXML
 - 
Methods 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, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, 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, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getHorizontalScrollBarPolicypublic int getHorizontalScrollBarPolicy() Returns the horizontal scrollbar policy.
 - 
setHorizontalScrollBarPolicypublic void setHorizontalScrollBarPolicy(int aValue) Sets the horizontal scrollbar policy.
 - 
getVerticalScrollBarPolicypublic int getVerticalScrollBarPolicy() Returns the vertical scrollbar policy.
 - 
setVerticalScrollBarPolicypublic void setVerticalScrollBarPolicy(int aValue) Sets the vertical scrollbar policy.
 - 
getViewportViewShapepublic JComponentShape getViewportViewShape() Returns the shape that is scrolling.
 - 
getComponentClasspublic java.lang.Class<? extends javax.swing.JComponent> getComponentClass() Returns the component class for this component shape.- Overrides:
- getComponentClassin class- JComponentShape
 
 - 
configureComponentprotected void configureComponent(JBuilder aBldr, javax.swing.JComponent aComp) Configures the component.- Overrides:
- configureComponentin class- JComponentShape
 
 - 
createComponentDeeppublic void createComponentDeep(JBuilder aBldr, javax.swing.JComponent aComp) Returns the component deep.- Overrides:
- createComponentDeepin class- JComponentShape
 
 - 
setWidthpublic void setWidth(double aWidth) Override default implementation to deal with viewport view shape.- Overrides:
- setWidthin class- RMParentShape
 
 - 
setHeightpublic void setHeight(double aHeight) Override default implementation to deal with viewport view shape.- Overrides:
- setHeightin class- RMParentShape
 
 - 
getBoundsMarkedDeeppublic RMRect getBoundsMarkedDeep() Override to account for fact that scroll pane clips viewport shape.- Overrides:
- getBoundsMarkedDeepin class- RMShape
 
 - 
superSelectablepublic boolean superSelectable() Overrides default implementation to indicate shape is super selectable.- Overrides:
- superSelectablein class- RMShape
 
 - 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately() Overrides default implementation to indicate children should super select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
 - 
toXMLShapepublic RXElement toXMLShape(RXArchiver anArchiver) XML archival.- Overrides:
- toXMLShapein class- JComponentShape
 
 - 
toXMLChildrenpublic void toXMLChildren(RXArchiver anArchiver, RXElement anElement) XML archival deep.- Overrides:
- toXMLChildrenin class- JComponentShape
 
 - 
fromXMLShapepublic void fromXMLShape(RXArchiver anArchiver, RXElement anElement) XML unarchival.- Overrides:
- fromXMLShapein class- JComponentShape
 
 
- 
 
-