Class JTabbedPaneShape
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.JTabbedPaneShape
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- PropertyChangeListener,- Cloneable,- EventListener
An RMShape subclass for JTabbedPane.
- 
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 TypeMethodDescriptionvoidAdds the given tab shape to tabbed pane shape.booleanEditor method - overrides default implementation to indicate children should super select immediately.protected JComponentOverride to add tabs for app rendering.voidcreateComponentDeep(JBuilder aBldr, JComponent aComp) Returns the component deep.voidfromXMLChildren(RXArchiver anArchiver, RXElement anElement) XML unarchival for children.voidfromXMLShape(RXArchiver anArchiver, RXElement anElement) XML unarchival.Class<? extends JComponent>Returns the component class for this component shape.Returns the selected child.intReturns the tap pane's selected index.intReturns the number of tabs in pane.getTitleAt(int anIndex) Returns the title at given index.voidpaintShapeChildren(RMShapePainter aPntr) Override to make children paint in tabpane.voidsetSelectedIndex(int anIndex) Sets the tab pane's selected index.booleanEditor method - overrides default implementation to indicate shape is super selectable.voidtoXMLChildren(RXArchiver anArchiver, RXElement anElement) XML archival deep.toXMLShape(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.swing.shape.JComponentShapeacceptsMouse, clone, configureComponent, 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, setToolTipTextMethods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, cloneDeep, computePrefHeight, computePrefWidth, divideShapeFromTop, fromXML, 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, 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, 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, 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- 
JTabbedPaneShapepublic JTabbedPaneShape()
 
- 
- 
Method Details- 
getTabCountpublic int getTabCount()Returns the number of tabs in pane.
- 
addTabAdds the given tab shape to tabbed pane shape.
- 
getTitleAtReturns the title at given index.
- 
getSelectedIndexpublic int getSelectedIndex()Returns the tap pane's selected index.
- 
setSelectedIndexpublic void setSelectedIndex(int anIndex) Sets the tab pane's selected index.
- 
getSelectedChildReturns the selected child.
- 
superSelectablepublic boolean superSelectable()Editor method - overrides default implementation to indicate shape is super selectable.- Overrides:
- superSelectablein class- RMShape
 
- 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately()Editor method - overrides default implementation to indicate children should super select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
- 
getComponentClassReturns the component class for this component shape.- Overrides:
- getComponentClassin class- JComponentShape
 
- 
createComponentOverride to add tabs for app rendering.- Overrides:
- createComponentin class- JComponentShape
 
- 
createComponentDeepReturns the component deep.- Overrides:
- createComponentDeepin class- JComponentShape
 
- 
paintShapeChildrenOverride to make children paint in tabpane.- Overrides:
- paintShapeChildrenin class- RMShape
 
- 
toXMLShapeXML archival.- Overrides:
- toXMLShapein class- JComponentShape
 
- 
toXMLChildrenXML archival deep.- Overrides:
- toXMLChildrenin class- JComponentShape
 
- 
fromXMLShapeXML unarchival.- Overrides:
- fromXMLShapein class- JComponentShape
 
- 
fromXMLChildrenXML unarchival for children. Only panels do anything here so far.- Overrides:
- fromXMLChildrenin class- RMParentShape
 
 
-