Class JSplitPaneShape
- 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.JSplitPaneShape
-
- All Implemented Interfaces:
Archivable
,DeepChangeListener
,RMPropertyChanger
,RMTypes
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.util.EventListener
public class JSplitPaneShape extends JComponentShape
An RMShape subclass for JSplitPane.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.rm.shape.RMShape
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
-
-
Constructor Summary
Constructors Constructor Description JSplitPaneShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
childrenSuperSelectImmediately()
Overrides default implementation to indicate children should super select immediately.protected void
configureComponent(JBuilder aBldr, javax.swing.JComponent aComp)
Configures the component.protected javax.swing.JComponent
createComponent()
Override to add tabs for app rendering.void
createComponentDeep(JBuilder aBldr, javax.swing.JComponent aComp)
Returns the component deep.void
fromXMLShape(RXArchiver anArchiver, RXElement anElement)
XML unarchival.RMShape
getBottomShape()
Returns the shape on this split pane shape's bottom side.java.lang.Class<? extends javax.swing.JComponent>
getComponentClass()
Returns the component class for this component shape.int
getDividerLocation()
Returns split pane divider location.int
getDividerSize()
Returns split pane divider size.RMShape
getLeftShape()
Returns the shape on this split pane shape's left side.int
getOrientation()
Returns one of the JSplitPane constants HORIZONTAL_SPLIT or VERTICAL_SPLIT.double
getResizeWeight()
Returns split pane resize weight.RMShape
getRightShape()
Returns the shape on this split pane shape's right side.RMShape
getTopShape()
Returns the shape on this split pane shape's top side.boolean
isBorderless()
Returns whether split pane has no border.boolean
isContinuousLayout()
Returns whether split pane is continuous.boolean
isOneTouchExpandable()
Returns whether split pane is one touch expandable.void
setBorderless(boolean aValue)
Sets whether split pane has no border.void
setBottomShape(RMShape aShape)
Sets the shape on this split pane shape's bottom side.void
setContinuousLayout(boolean aValue)
Sets whether split pane is continuous.void
setDividerLocation(int aValue)
Sets split pane divider location.void
setDividerSize(int aValue)
Sets split pane divider size.void
setLeftShape(RMShape aShape)
Sets the shape on this split pane shape's left side.void
setOneTouchExpandable(boolean aValue)
Sets whether split pane is one touch expandable.void
setOrientation(int aValue)
Sets one of the JSplitPane constants HORIZONTAL_SPLIT or VERTICAL_SPLIT.void
setResizeWeight(double aValue)
Sets split pane resize weight.void
setRightShape(RMShape aShape)
Sets the shape on this split pane shape's right side.void
setTopShape(RMShape aShape)
Sets the shape on this split pane shape's top side.boolean
superSelectable()
Overrides default implementation to indicate that this shape can be super selected.void
toXMLChildren(RXArchiver anArchiver, RXElement anElement)
XML archival deep.RXElement
toXMLShape(RXArchiver anArchiver)
XML archival.-
Methods inherited from class com.inductiveautomation.rm.swing.shape.JComponentShape
acceptsMouse, 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
-
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShape
addChild, 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, toXML
-
Methods inherited from class com.inductiveautomation.rm.shape.RMShape
acceptsChildren, 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, 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, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
-
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
-
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
-
-
-
Method Detail
-
isContinuousLayout
public boolean isContinuousLayout()
Returns whether split pane is continuous.
-
setContinuousLayout
public void setContinuousLayout(boolean aValue)
Sets whether split pane is continuous.
-
isOneTouchExpandable
public boolean isOneTouchExpandable()
Returns whether split pane is one touch expandable.
-
setOneTouchExpandable
public void setOneTouchExpandable(boolean aValue)
Sets whether split pane is one touch expandable.
-
getDividerSize
public int getDividerSize()
Returns split pane divider size.
-
setDividerSize
public void setDividerSize(int aValue)
Sets split pane divider size.
-
getDividerLocation
public int getDividerLocation()
Returns split pane divider location.
-
setDividerLocation
public void setDividerLocation(int aValue)
Sets split pane divider location.
-
getResizeWeight
public double getResizeWeight()
Returns split pane resize weight.
-
setResizeWeight
public void setResizeWeight(double aValue)
Sets split pane resize weight.
-
getOrientation
public int getOrientation()
Returns one of the JSplitPane constants HORIZONTAL_SPLIT or VERTICAL_SPLIT.
-
setOrientation
public void setOrientation(int aValue)
Sets one of the JSplitPane constants HORIZONTAL_SPLIT or VERTICAL_SPLIT.
-
isBorderless
public boolean isBorderless()
Returns whether split pane has no border.
-
setBorderless
public void setBorderless(boolean aValue)
Sets whether split pane has no border.
-
getLeftShape
public RMShape getLeftShape()
Returns the shape on this split pane shape's left side.
-
setLeftShape
public void setLeftShape(RMShape aShape)
Sets the shape on this split pane shape's left side.
-
getRightShape
public RMShape getRightShape()
Returns the shape on this split pane shape's right side.
-
setRightShape
public void setRightShape(RMShape aShape)
Sets the shape on this split pane shape's right side.
-
getTopShape
public RMShape getTopShape()
Returns the shape on this split pane shape's top side.
-
setTopShape
public void setTopShape(RMShape aShape)
Sets the shape on this split pane shape's top side.
-
getBottomShape
public RMShape getBottomShape()
Returns the shape on this split pane shape's bottom side.
-
setBottomShape
public void setBottomShape(RMShape aShape)
Sets the shape on this split pane shape's bottom side.
-
superSelectable
public boolean superSelectable()
Overrides default implementation to indicate that this shape can be super selected.- Overrides:
superSelectable
in classRMShape
-
childrenSuperSelectImmediately
public boolean childrenSuperSelectImmediately()
Overrides default implementation to indicate children should super select immediately.- Overrides:
childrenSuperSelectImmediately
in classRMShape
-
getComponentClass
public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
Returns the component class for this component shape.- Overrides:
getComponentClass
in classJComponentShape
-
createComponent
protected javax.swing.JComponent createComponent()
Override to add tabs for app rendering.- Overrides:
createComponent
in classJComponentShape
-
configureComponent
protected void configureComponent(JBuilder aBldr, javax.swing.JComponent aComp)
Configures the component.- Overrides:
configureComponent
in classJComponentShape
-
createComponentDeep
public void createComponentDeep(JBuilder aBldr, javax.swing.JComponent aComp)
Returns the component deep.- Overrides:
createComponentDeep
in classJComponentShape
-
toXMLShape
public RXElement toXMLShape(RXArchiver anArchiver)
XML archival.- Overrides:
toXMLShape
in classJComponentShape
-
toXMLChildren
public void toXMLChildren(RXArchiver anArchiver, RXElement anElement)
XML archival deep.- Overrides:
toXMLChildren
in classJComponentShape
-
fromXMLShape
public void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
XML unarchival.- Overrides:
fromXMLShape
in classJComponentShape
-
-