Package com.ribsapp.shapes
Class JSeparatorShape
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.shape.RMShape
- 
- com.ribsapp.shapes.RJShape
- 
- com.ribsapp.shapes.JSeparatorShape
 
 
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMShapePainter.Paint,- RJMinMaxSizeSettable,- java.lang.Cloneable
 
 public class JSeparatorShape extends RJShape This class provides a RM shape/inspector for editing JSeparator.
- 
- 
Field Summary- 
Fields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Constructor SummaryConstructors Constructor Description JSeparatorShape()Creates a new separator shape (used by archiver).JSeparatorShape(javax.swing.JComponent aComponent)Creates a new separator shape for given component (separator).
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(RMPoint aPoint)Overriden from RMShape to increase hit test rectangle.intgetOrientation()Returns the orientation of the JSeparator.javax.swing.JSeparatorgetSeparator()Returns the shape's component as a JSeparator.voidsetHeight(double aValue)Overriden to ensure that only vertical separators may change the height.voidsetOrientation(int orientation)Resets the orientation of the separator component and resizes the shape.voidsetWidth(double aValue)Overriden to ensure that only horizontal separators change the width.- 
Methods inherited from class com.ribsapp.shapes.RJShapeacceptsDrag, clone, cloneDeep, dragAtPoint, dragExit, dropAtPoint, dropKeyAtPoint, equals, findParentPanel, fromXML, 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, setMaximumSize, setMinimumSize, setName, setToolTipText, setX, setY, super_fromXML, toXML
 - 
Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, 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, superSelectable, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
 - 
Methods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.ribsapp.shapes.RJMinMaxSizeSettablegetSize
 
- 
 
- 
- 
- 
Method Detail- 
getSeparatorpublic javax.swing.JSeparator getSeparator() Returns the shape's component as a JSeparator.
 - 
setWidthpublic void setWidth(double aValue) Overriden to ensure that only horizontal separators change the width.
 - 
setHeightpublic void setHeight(double aValue) Overriden to ensure that only vertical separators may change the height.
 - 
setOrientationpublic void setOrientation(int orientation) Resets the orientation of the separator component and resizes the shape.
 - 
getOrientationpublic int getOrientation() Returns the orientation of the JSeparator.
 
- 
 
-