Package com.ribsapp.shapes
Class JTabbedPaneShape
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.shape.RMShape
-
- com.ribsapp.shapes.RJShape
-
- com.ribsapp.shapes.JTabbedPaneShape
-
- All Implemented Interfaces:
RMArchiver.Archiving,RMShapePainter.Paint,RJMinMaxSizeSettable,java.lang.Cloneable
public class JTabbedPaneShape extends RJShape
An RMShape representation of JTabbedPane.
-
-
Field Summary
-
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
-
Constructor Summary
Constructors Constructor Description JTabbedPaneShape()Creates a new tabbed pane shape.JTabbedPaneShape(javax.swing.JComponent aComponent)Creates a new tabbed pane for the given JTabbedPane.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchildrenSuperSelectImmediately()Editor method - overrides default implementation to indicate children should super select immediately.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.intgetSelectedIndex()Returns the tap pane's selected index.javax.swing.JTabbedPanegetTabbedPane()Returns the JTabbedPane for this shape.voidsetSelectedIndex(int anIndex)Sets the tab pane's selected index.booleansuperSelectable()Editor method - overrides default implementation to indicate shape is super selectable.RXElementtoXML(RXArchiver anArchiver)Overriden to fix up tabbed pane after default implementation gets done mucking with it.-
Methods inherited from class com.ribsapp.shapes.RJShape
acceptsDrag, clone, cloneDeep, dragAtPoint, dragExit, dropAtPoint, dropKeyAtPoint, equals, findParentPanel, getAutosizing, getBorder, getBoundsInsideInset, getChildRB, getClipRect, getComponent, getDefaultMaximumSize, getDefaultMinimumSize, getFont, getImage, getMaximumSize, getMinimumSize, getName, getToolClassName, getToolTipText, paintImage, paintImageOverkill, paintShape, recache, recacheDeep, setAutosizing, setBorder, setClipsChildren, setComponent, setFill, setFont, setHeight, setMaximumSize, setMinimumSize, setName, setToolTipText, setWidth, setX, setY, super_fromXML
-
Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidthDeep, setWidthDeep, setWidthToFit, setXY, setXY, setXYP, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
-
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ribsapp.shapes.RJMinMaxSizeSettable
getSize
-
-
-
-
Method Detail
-
getTabbedPane
public javax.swing.JTabbedPane getTabbedPane()
Returns the JTabbedPane for this shape.
-
getSelectedIndex
public int getSelectedIndex()
Returns the tap pane's selected index.
-
setSelectedIndex
public void setSelectedIndex(int anIndex)
Sets the tab pane's selected index.
-
superSelectable
public boolean superSelectable()
Editor method - overrides default implementation to indicate shape is super selectable.- Overrides:
superSelectablein classRMShape
-
childrenSuperSelectImmediately
public boolean childrenSuperSelectImmediately()
Editor method - overrides default implementation to indicate children should super select immediately.- Overrides:
childrenSuperSelectImmediatelyin classRMShape
-
toXML
public RXElement toXML(RXArchiver anArchiver)
Overriden to fix up tabbed pane after default implementation gets done mucking with it.
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.
-
-