|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.glib.models.impl.LShape
net.sf.latexdraw.glib.models.impl.LGroup
class LGroup
A Group is a group of IShape.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
02/14/2008
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sf.latexdraw.glib.models.interfaces.IText |
---|
IText.TextPosition, IText.TextSize |
Nested classes/interfaces inherited from interface net.sf.latexdraw.glib.models.interfaces.Arcable |
---|
Arcable.ArcStyle |
Nested classes/interfaces inherited from interface net.sf.latexdraw.glib.models.interfaces.IAxes |
---|
IAxes.AxesStyle, IAxes.PlottingStyle, IAxes.TicksStyle |
Nested classes/interfaces inherited from interface net.sf.latexdraw.glib.models.interfaces.IShape |
---|
IShape.BorderPos, IShape.FillingStyle, IShape.LineStyle, IShape.Position |
Field Summary | |
---|---|
protected java.util.List<IShape> |
shapes
The set of shapes. |
Fields inherited from class net.sf.latexdraw.glib.models.impl.LShape |
---|
arrows, bordersPosition, dashSepBlack, dashSepWhite, dbleBordCol, dbleBordSep, dotSep, fillingCol, fillingStyle, gradAngle, gradColEnd, gradColStart, gradMidPt, hasDbleBord, hasShadow, hatchingsAngle, hatchingsCol, hatchingsSep, hatchingsWidth, id, lineColour, lineStyle, modified, opacity, points, rotationAngle, shadowAngle, shadowCol, shadowSize, showPts, thickness |
Fields inherited from interface net.sf.latexdraw.glib.models.interfaces.IAxes |
---|
GAP_LABEL |
Fields inherited from interface net.sf.latexdraw.glib.models.interfaces.IShape |
---|
GOLDEN_ANGLE, PPC |
Constructor Summary | |
---|---|
protected |
LGroup(boolean uniqueID)
Creates a group of shapes. |
Method Summary | |
---|---|
void |
addShape(IShape sh)
Adds a shape to the drawing. |
void |
addShape(IShape s,
int index)
Adds a shape to the drawing at at given position. |
void |
addToRotationAngle(IPoint gravCentre,
double angle)
Adds the given angle to the current rotation angle. |
void |
clear()
Empties the drawing. |
boolean |
contains(IShape sh)
Allows to know if a shape is in the drawing. |
boolean |
containsAxes()
|
boolean |
containsRoundables()
|
boolean |
containsStandardGrids()
|
boolean |
containsTexts()
|
IGroup |
duplicate()
Duplicates the group. |
IGroup |
duplicate(boolean duplicateShapes)
Duplicates the group of shapes. |
double |
getAngleEnd()
|
java.util.List<java.lang.Double> |
getAngleEndList()
|
double |
getAngleStart()
|
java.util.List<java.lang.Double> |
getAngleStartList()
|
Arcable.ArcStyle |
getArcStyle()
|
java.util.List<Arcable.ArcStyle> |
getArcStyleList()
|
IArrow |
getArrowAt(int position)
|
double |
getArrowInset()
|
double |
getArrowLength()
|
ILine |
getArrowLine(IArrow arrow)
|
java.util.List<IArrow> |
getArrows()
|
double |
getArrowSizeDim()
|
double |
getArrowSizeNum()
|
IArrow.ArrowStyle |
getArrowStyle(int position)
|
java.util.List<IArrow.ArrowStyle> |
getArrowStyleList(int i)
|
java.util.List<IPoint> |
getAxesDistLabelsList()
|
java.util.List<IPoint> |
getAxesIncrementsList()
|
java.util.List<IAxes.PlottingStyle> |
getAxesLabelsDisplayedList()
|
java.util.List<java.lang.Boolean> |
getAxesShowOriginList()
|
IAxes.AxesStyle |
getAxesStyle()
|
java.util.List<IAxes.AxesStyle> |
getAxesStyleList()
|
java.util.List<IAxes.PlottingStyle> |
getAxesTicksDisplayedList()
|
java.util.List<java.lang.Double> |
getAxesTicksSizeList()
|
java.util.List<IAxes.TicksStyle> |
getAxesTicksStyleList()
|
IShape.BorderPos |
getBordersPosition()
|
java.util.List<IShape.BorderPos> |
getBordersPositionList()
|
IPoint |
getBottomLeftPoint()
|
IPoint |
getBottomRightPoint()
|
double |
getBracketNum()
|
java.awt.Color |
getDbleBordCol()
|
java.util.List<java.awt.Color> |
getDbleBordColList()
|
double |
getDbleBordSep()
|
java.util.List<java.lang.Double> |
getDbleBordSepList()
|
IPoint |
getDistLabels()
|
double |
getDistLabelsX()
|
double |
getDistLabelsY()
|
java.awt.Color |
getDotFillingCol()
|
java.util.List<java.awt.Color> |
getDotFillingColList()
|
double |
getDotSizeDim()
|
java.util.List<java.lang.Double> |
getDotSizeList()
|
double |
getDotSizeNum()
|
IDot.DotStyle |
getDotStyle()
|
java.util.List<IDot.DotStyle> |
getDotStyleList()
|
java.awt.Color |
getFillingCol()
|
java.util.List<java.awt.Color> |
getFillingColList()
|
IShape.FillingStyle |
getFillingStyle()
|
java.util.List<IShape.FillingStyle> |
getFillingStyleList()
|
double |
getGradAngle()
|
java.util.List<java.lang.Double> |
getGradAngleList()
|
java.awt.Color |
getGradColEnd()
|
java.util.List<java.awt.Color> |
getGradColEndList()
|
java.awt.Color |
getGradColStart()
|
java.util.List<java.awt.Color> |
getGradColStartList()
|
double |
getGradMidPt()
|
java.util.List<java.lang.Double> |
getGradMidPtList()
|
IPoint |
getGravityCentre()
|
IPoint |
getGridEnd()
|
java.util.List<IPoint> |
getGridEndList()
|
double |
getGridEndX()
|
double |
getGridEndY()
|
java.util.List<java.lang.Integer> |
getGridLabelSizeList()
|
double |
getGridMaxX()
|
double |
getGridMaxY()
|
double |
getGridMinX()
|
double |
getGridMinY()
|
java.util.List<IPoint> |
getGridOriginList()
|
IPoint |
getGridStart()
|
java.util.List<IPoint> |
getGridStartList()
|
double |
getGridStartX()
|
double |
getGridStartY()
|
java.util.List<java.lang.Boolean> |
getGridXLabelSouthList()
|
java.util.List<java.lang.Boolean> |
getGridYLabelWestList()
|
double |
getHatchingsAngle()
|
java.util.List<java.lang.Double> |
getHatchingsAngleList()
|
java.awt.Color |
getHatchingsCol()
|
java.util.List<java.awt.Color> |
getHatchingsColList()
|
double |
getHatchingsSep()
|
java.util.List<java.lang.Double> |
getHatchingsSepList()
|
double |
getHatchingsWidth()
|
java.util.List<java.lang.Double> |
getHatchingsWidthList()
|
IPoint |
getIncrement()
|
double |
getIncrementX()
|
double |
getIncrementY()
|
IAxes.PlottingStyle |
getLabelsDisplayed()
|
int |
getLabelsSize()
|
double |
getLineArc()
|
java.util.List<java.lang.Double> |
getLineArcList()
|
java.awt.Color |
getLineColour()
|
java.util.List<java.awt.Color> |
getLineColourList()
|
IShape.LineStyle |
getLineStyle()
|
java.util.List<IShape.LineStyle> |
getLineStyleList()
|
double |
getOriginX()
|
double |
getOriginY()
|
IPoint |
getPosition()
|
double |
getRadius()
|
double |
getRBracketNum()
|
double |
getRotationAngle()
|
java.util.List<java.lang.Double> |
getRotationAngleList()
|
double |
getShadowAngle()
|
java.util.List<java.lang.Double> |
getShadowAngleList()
|
java.awt.Color |
getShadowCol()
|
java.util.List<java.awt.Color> |
getShadowColList()
|
double |
getShadowSize()
|
java.util.List<java.lang.Double> |
getShadowSizeList()
|
IShape |
getShapeAt(int i)
Allows to get the shape located at the given position. |
java.util.List<IShape> |
getShapes()
|
double |
getStep()
|
double |
getTBarSizeDim()
|
double |
getTBarSizeNum()
|
java.lang.String |
getText()
|
java.util.List<java.lang.String> |
getTextList()
|
IText.TextPosition |
getTextPosition()
|
java.util.List<IText.TextPosition> |
getTextPositionList()
|
double |
getThickness()
|
java.util.List<java.lang.Double> |
getThicknessList()
|
IAxes.PlottingStyle |
getTicksDisplayed()
|
double |
getTicksSize()
|
IAxes.TicksStyle |
getTicksStyle()
|
IPoint |
getTopLeftPoint()
|
IPoint |
getTopRightPoint()
|
double |
getX()
|
double |
getY()
|
boolean |
hasDbleBord()
|
java.util.List<java.lang.Boolean> |
hasDbleBordList()
|
boolean |
hasDot()
|
boolean |
hasGradient()
|
boolean |
hasHatchings()
|
boolean |
hasShadow()
|
java.util.List<java.lang.Boolean> |
hasShadowList()
|
boolean |
isArrowable()
|
boolean |
isBordersMovable()
|
boolean |
isColourable()
|
boolean |
isDbleBorderable()
|
boolean |
isEmpty()
Allows to know if the drawing is empty or not. |
boolean |
isFillable()
|
boolean |
isInteriorStylable()
|
boolean |
isLineStylable()
|
boolean |
isRoundCorner()
|
boolean |
isShadowable()
|
boolean |
isShowOrigin()
|
boolean |
isShowPtsable()
|
boolean |
isThicknessable()
|
boolean |
isXLabelSouth()
|
boolean |
isYLabelWest()
|
IShape |
removeShape(int i)
Removes a shape of the drawing a the given position. |
boolean |
removeShape(IShape sh)
Removes a shape of the drawing. |
void |
rotate(IPoint point,
double angle)
Rotates the shape. |
void |
scale(double x,
double y,
IShape.Position pos,
java.awt.geom.Rectangle2D bound)
Scales the shape where the move reference point is the bottom right point, and the fixation point the top left point. |
void |
setAngleEnd(double angleEnd)
|
void |
setAngleEndList(java.util.List<java.lang.Double> values)
Sets the ending angle of the arcable shapes of the group. |
void |
setAngleStart(double angleStart)
|
void |
setAngleStartList(java.util.List<java.lang.Double> values)
Sets the starting angle of the arcable shapes of the group. |
void |
setArcStyle(Arcable.ArcStyle type)
|
void |
setArcStyleList(java.util.List<Arcable.ArcStyle> values)
Sets the arc style of the arcable shapes of the group. |
void |
setArrowInset(double inset)
Defines the inset of the arrow. |
void |
setArrowLength(double lgth)
Defines the length of the arrow. |
void |
setArrowSizeDim(double arrowSizeDim)
Sets the latex parameter arrowSize num. |
void |
setArrowSizeNum(double arrowSizeNum)
Sets the latex parameter arrowSize num. |
void |
setArrowStyle(IArrow.ArrowStyle style,
int position)
Sets the style of the arrow at the given position. |
void |
setArrowStyleList(java.util.List<IArrow.ArrowStyle> values,
int i)
Sets the arrow style of the arrowable shapes of the group. |
void |
setAxesDistLabelsList(java.util.List<IPoint> values)
Sets the distances between the labels of the axes contained by the group are displayed. |
void |
setAxesIncrementsList(java.util.List<IPoint> values)
Sets the labels' increments of the axes contained by the group are displayed. |
void |
setAxesLabelsDisplayedList(java.util.List<IAxes.PlottingStyle> values)
Sets how the labels of the axes contained by the group are displayed. |
void |
setAxesShowOriginList(java.util.List<java.lang.Boolean> values)
Defines if the origin of the axes contained by the group are displayed. |
void |
setAxesStyle(IAxes.AxesStyle axesStyle)
|
void |
setAxesStyleList(java.util.List<IAxes.AxesStyle> values)
Sets the style of the axes contained by the group. |
void |
setAxesTicksDisplayedList(java.util.List<IAxes.PlottingStyle> values)
Sets how the ticks of the axes contained by the group are displayed. |
void |
setAxesTicksSizeList(java.util.List<java.lang.Double> values)
Sets the size of the axes' ticks contained by the group. |
void |
setAxesTicksStyleList(java.util.List<IAxes.TicksStyle> values)
Sets the style of the axes' ticks contained by the group. |
void |
setBordersPosition(IShape.BorderPos position)
Sets the position of the borders. |
void |
setBordersPositionList(java.util.List<IShape.BorderPos> list)
Sets the border position of the shapes of the group. |
void |
setBracketNum(double bracketNum)
Sets the latex parameter bracket num. |
void |
setDbleBordCol(java.awt.Color colour)
|
void |
setDbleBordColList(java.util.List<java.awt.Color> values)
Sets the double borders colour of the shapes of the group. |
void |
setDbleBordSep(double dbleBorderSep)
|
void |
setDbleBordSepList(java.util.List<java.lang.Double> values)
Sets the double border gap of the shapes of the group. |
void |
setDistLabels(IPoint distLabels)
|
void |
setDistLabelsX(double distLabelsX)
|
void |
setDistLabelsY(double distLabelsY)
|
void |
setDotFillingCol(java.awt.Color fillingCol)
Sets the filling colour of the dottable. |
void |
setDotFillingColList(java.util.List<java.awt.Color> values)
Sets the filling colour of the dot shapes of the group. |
void |
setDotSizeDim(double dotSizeDim)
Sets the latex parameter dotsize dim. |
void |
setDotSizeList(java.util.List<java.lang.Double> values)
Sets the size of the dot shapes of the group. |
void |
setDotSizeNum(double dotSizeNum)
Sets the latex parameter dotsize num. |
void |
setDotStyle(IDot.DotStyle style)
Defines the style of the dot. |
void |
setDotStyleList(java.util.List<IDot.DotStyle> values)
Sets the dot style of the dottable shapes of the group. |
void |
setFillingCol(java.awt.Color colour)
|
void |
setFillingColList(java.util.List<java.awt.Color> values)
Sets the filling colour of the shapes of the group. |
void |
setFillingStyle(IShape.FillingStyle style)
|
void |
setFillingStyleList(java.util.List<IShape.FillingStyle> values)
Sets the style of the filling of the shapes of the group. |
void |
setGradAngle(double gradAngle)
|
void |
setGradAngleList(java.util.List<java.lang.Double> values)
Sets the starting angle of the gradient of the shapes of the group. |
void |
setGradColEnd(java.awt.Color colour)
|
void |
setGradColEndList(java.util.List<java.awt.Color> values)
Sets the last gradient colour of the shapes of the group. |
void |
setGradColStart(java.awt.Color colour)
|
void |
setGradColStartList(java.util.List<java.awt.Color> values)
Sets the first gradient colour of the shapes of the group. |
void |
setGradMidPt(double gradMidPoint)
|
void |
setGradMidPtList(java.util.List<java.lang.Double> values)
Sets the middle point reference of the gradient of the shapes of the group. |
void |
setGridEnd(double x,
double y)
|
void |
setGridEndList(java.util.List<IPoint> values)
Sets the ending points of the grid shapes of the group. |
void |
setGridEndX(double x)
|
void |
setGridEndY(double y)
|
void |
setGridLabelSizeList(java.util.List<java.lang.Integer> values)
Sets the size of the labels of the grid shapes of the group. |
void |
setGridOriginList(java.util.List<IPoint> values)
Sets the origin points of the grid shapes of the group. |
void |
setGridStart(double x,
double y)
|
void |
setGridStartList(java.util.List<IPoint> values)
Sets the starting points of the grid shapes of the group. |
void |
setGridStartX(double x)
|
void |
setGridStartY(double y)
|
void |
setGridXLabelSouthList(java.util.List<java.lang.Boolean> values)
Sets the Y-coordinate of the labels of the grid contained by the group. |
void |
setGridYLabelWestList(java.util.List<java.lang.Boolean> values)
Sets the X-coordinate of the labels of the grid contained by the group. |
void |
setHasDbleBord(boolean dbleBorders)
|
void |
setHasDbleBordList(java.util.List<java.lang.Boolean> values)
Defines if the shapes of the group have double borders. |
void |
setHasShadow(boolean shadow)
|
void |
setHasShadowList(java.util.List<java.lang.Boolean> values)
Defines if the shapes of the group have a shadow. |
void |
setHatchingsAngle(double hatchingsAngle)
|
void |
setHatchingsAngleList(java.util.List<java.lang.Double> values)
Sets the hatchings angle of the shapes of the group. |
void |
setHatchingsCol(java.awt.Color colour)
|
void |
setHatchingsColList(java.util.List<java.awt.Color> values)
Sets the hatchings colour of the shapes of the group. |
void |
setHatchingsSep(double hatchingsSep)
|
void |
setHatchingsSepList(java.util.List<java.lang.Double> values)
Sets the hatchings gap of the shapes of the group. |
void |
setHatchingsWidth(double hatchingsWidth)
|
void |
setHatchingsWidthList(java.util.List<java.lang.Double> values)
Sets the hatchings width of the shapes of the group. |
void |
setIncrement(IPoint increment)
|
void |
setIncrementX(double increment)
|
void |
setIncrementY(double increment)
|
void |
setLabelsDisplayed(IAxes.PlottingStyle labelsDisplayed)
|
void |
setLabelsSize(int labelsSize)
Defines the size of the labels. |
void |
setLineArc(double lineArc)
|
void |
setLineArcList(java.util.List<java.lang.Double> values)
Sets the line arc value of the line-arcable shapes of the group. |
void |
setLineColour(java.awt.Color lineColour)
|
void |
setLineColourList(java.util.List<java.awt.Color> list)
Sets the line colour of the shapes of the group. |
void |
setLineStyle(IShape.LineStyle style)
|
void |
setLineStyleList(java.util.List<IShape.LineStyle> values)
Sets the line style colour of the shapes of the group. |
void |
setModified(boolean modified)
Sets the Modifiable object as modified. |
void |
setOrigin(double x,
double y)
|
void |
setOriginX(double x)
|
void |
setOriginY(double y)
|
void |
setPosition(double x,
double y)
Sets the position of the shape (the bottom-left point of the shape). |
void |
setPosition(IPoint pt)
Sets the position of the shape (the bottom-left point of the shape). |
void |
setRadius(double radius)
Defines the radius of the dot. |
void |
setRBracketNum(double rBracketNum)
Sets the latex parameter rbracket num. |
void |
setRotationAngle(double rotationAngle)
|
void |
setRotationAngleList(java.util.List<java.lang.Double> values)
Sets the rotation angle of the shapes of the group. |
void |
setShadowAngle(double shadAngle)
|
void |
setShadowAngleList(java.util.List<java.lang.Double> values)
Sets the shadow angles of the shapes of the group. |
void |
setShadowCol(java.awt.Color colour)
|
void |
setShadowColList(java.util.List<java.awt.Color> values)
Sets the shadow colour of the shapes of the group. |
void |
setShadowSize(double shadSize)
|
void |
setShadowSizeList(java.util.List<java.lang.Double> values)
Sets the shadow sizes of the shapes of the group. |
void |
setShowOrigin(boolean showOrigin)
|
void |
setTBarSizeDim(double tbarSizeDim)
Sets the latex parameter tbarsize num. |
void |
setTBarSizeNum(double tbarSizeNum)
Sets the latex parameter tbarsize num. |
void |
setText(java.lang.String text)
|
void |
setTextList(java.util.List<java.lang.String> values)
Sets the text content of the text shapes of the group. |
void |
setTextPosition(IText.TextPosition textPosition)
Sets the text position of the text. |
void |
setTextPositionList(java.util.List<IText.TextPosition> values)
Sets the text position of the text shapes of the group. |
void |
setThickness(double thickness)
|
void |
setThicknessList(java.util.List<java.lang.Double> values)
Sets the thickness of the shapes of the group. |
void |
setTicksDisplayed(IAxes.PlottingStyle ticksDisplayed)
|
void |
setTicksSize(double ticksSize)
|
void |
setTicksStyle(IAxes.TicksStyle ticksStyle)
|
void |
setX(double x)
Sets the X coordinate of the shape (of the bottom-left point of the shape). |
void |
setXLabelSouth(boolean isXLabelSouth)
|
void |
setY(double y)
Sets the Y coordinate of the shape (of the bottom-left point of the shape). |
void |
setYLabelWest(boolean isYLabelWest)
|
int |
size()
Allows to get the number of shapes that contains the drawing. |
void |
translate(double tx,
double ty)
Translates the shape. |
Methods inherited from class net.sf.latexdraw.glib.models.impl.LShape |
---|
copy, copyArrows, copyPoints, getBorderGap, getDashSepBlack, getDashSepWhite, getDotSep, getFullBottomRightPoint, getFullTopLeftPoint, getId, getNbPoints, getOpacity, getPoints, getPtAt, getShadowGap, isFilled, isModified, isParametersEquals, isShowPts, mirrorHorizontal, mirrorVertical, scaleSetPoints, setDashSepBlack, setDashSepWhite, setDotSep, setFilled, setId, setNewId, setOpacity, setShowPts, shadowFillsShape |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.latexdraw.glib.models.interfaces.IShape |
---|
copy, getBorderGap, getDashSepBlack, getDashSepWhite, getDotSep, getFullBottomRightPoint, getFullTopLeftPoint, getId, getNbPoints, getOpacity, getPoints, getPtAt, getShadowGap, isFilled, isParametersEquals, isShowPts, mirrorHorizontal, mirrorVertical, setDashSepBlack, setDashSepWhite, setDotSep, setFilled, setId, setNewId, setOpacity, setShowPts, shadowFillsShape |
Methods inherited from interface org.malai.properties.Modifiable |
---|
isModified |
Field Detail |
---|
protected java.util.List<IShape> shapes
Constructor Detail |
---|
protected LGroup(boolean uniqueID)
uniqueID
- True: the model will have a unique ID.Method Detail |
---|
public void addShape(IShape sh)
ISetShapes
addShape
in interface ISetShapes
sh
- The shape to add. Does nothing if the given shape is null.public void addShape(IShape s, int index)
ISetShapes
addShape
in interface ISetShapes
s
- The shape to add. Does nothing if the given shape is null.index
- The position where the figure must be inserted. Does nothing if the given position is not valid.public void clear()
ISetShapes
clear
in interface ISetShapes
public boolean contains(IShape sh)
ISetShapes
contains
in interface ISetShapes
sh
- The shape to check.
public void setThickness(double thickness)
setThickness
in interface IShape
setThickness
in class LShape
thickness
- the thickness to set.public double getThickness()
getThickness
in interface IShape
getThickness
in class LShape
public boolean isThicknessable()
isThicknessable
in interface IShape
isThicknessable
in class LShape
public java.awt.Color getLineColour()
getLineColour
in interface IShape
getLineColour
in class LShape
public boolean isLineStylable()
isLineStylable
in interface IShape
isLineStylable
in class LShape
public IShape.LineStyle getLineStyle()
getLineStyle
in interface IShape
getLineStyle
in class LShape
public void setLineStyle(IShape.LineStyle style)
setLineStyle
in interface IShape
setLineStyle
in class LShape
style
- the lineStyle to set.public boolean isBordersMovable()
isBordersMovable
in interface IShape
isBordersMovable
in class LShape
public IShape.BorderPos getBordersPosition()
getBordersPosition
in interface IShape
getBordersPosition
in class LShape
public void setBordersPosition(IShape.BorderPos position)
IShape
setBordersPosition
in interface IShape
setBordersPosition
in class LShape
position
- The new position.public double getLineArc()
getLineArc
in interface ILineArcShape
public void setLineArc(double lineArc)
setLineArc
in interface ILineArcShape
lineArc
- the lineArc to set. Must be in [0,1]public boolean containsRoundables()
containsRoundables
in interface IGroup
public boolean isRoundCorner()
isRoundCorner
in interface ILineArcShape
public void setLineColour(java.awt.Color lineColour)
setLineColour
in interface IShape
setLineColour
in class LShape
lineColour
- the lineColour to set.public void setDbleBordCol(java.awt.Color colour)
setDbleBordCol
in interface IShape
setDbleBordCol
in class LShape
colour
- the dbleBordCol to set.public java.awt.Color getDbleBordCol()
getDbleBordCol
in interface IShape
getDbleBordCol
in class LShape
public boolean hasDbleBord()
hasDbleBord
in interface IShape
hasDbleBord
in class LShape
public void setHasDbleBord(boolean dbleBorders)
setHasDbleBord
in interface IShape
setHasDbleBord
in class LShape
dbleBorders
- the hasDbleBord to set.public boolean isDbleBorderable()
isDbleBorderable
in interface IShape
isDbleBorderable
in class LShape
public void setDbleBordSep(double dbleBorderSep)
setDbleBordSep
in interface IShape
setDbleBordSep
in class LShape
dbleBorderSep
- the dbleBordSep to set. Must be greater or equal to 0.public double getDbleBordSep()
getDbleBordSep
in interface IShape
getDbleBordSep
in class LShape
public boolean isShadowable()
isShadowable
in interface IShape
isShadowable
in class LShape
public boolean hasShadow()
hasShadow
in interface IShape
hasShadow
in class LShape
public void setHasShadow(boolean shadow)
setHasShadow
in interface IShape
setHasShadow
in class LShape
shadow
- the hasShadow to set.public void setShadowSize(double shadSize)
setShadowSize
in interface IShape
setShadowSize
in class LShape
shadSize
- the shadowSize to set. Must be greater than 0.public double getShadowSize()
getShadowSize
in interface IShape
getShadowSize
in class LShape
public void setShadowAngle(double shadAngle)
setShadowAngle
in interface IShape
setShadowAngle
in class LShape
shadAngle
- the shadowAngle to set. In radian.public double getShadowAngle()
getShadowAngle
in interface IShape
getShadowAngle
in class LShape
public void setShadowCol(java.awt.Color colour)
setShadowCol
in interface IShape
setShadowCol
in class LShape
colour
- the shadowCol to set.public java.awt.Color getShadowCol()
getShadowCol
in interface IShape
getShadowCol
in class LShape
public IShape.FillingStyle getFillingStyle()
getFillingStyle
in interface IShape
getFillingStyle
in class LShape
public void setFillingStyle(IShape.FillingStyle style)
setFillingStyle
in interface IShape
setFillingStyle
in class LShape
style
- the fillingStyle to set.public boolean isFillable()
isFillable
in interface Dottable
isFillable
in interface IShape
isFillable
in class LShape
public boolean isInteriorStylable()
isInteriorStylable
in interface IShape
isInteriorStylable
in class LShape
public void setFillingCol(java.awt.Color colour)
setFillingCol
in interface IShape
setFillingCol
in class LShape
colour
- the fillingCol to set.public java.awt.Color getFillingCol()
getFillingCol
in interface IShape
getFillingCol
in class LShape
public void setHatchingsCol(java.awt.Color colour)
setHatchingsCol
in interface IShape
setHatchingsCol
in class LShape
colour
- the hatchingsCol to set.public java.awt.Color getHatchingsCol()
getHatchingsCol
in interface IShape
getHatchingsCol
in class LShape
public void setGradColStart(java.awt.Color colour)
setGradColStart
in interface IShape
setGradColStart
in class LShape
colour
- the gradColStart to set.public java.awt.Color getGradColStart()
getGradColStart
in interface IShape
getGradColStart
in class LShape
public void setGradColEnd(java.awt.Color colour)
setGradColEnd
in interface IShape
setGradColEnd
in class LShape
colour
- the gradColEnd to set.public java.awt.Color getGradColEnd()
getGradColEnd
in interface IShape
getGradColEnd
in class LShape
public void setGradAngle(double gradAngle)
setGradAngle
in interface IShape
setGradAngle
in class LShape
gradAngle
- the gradAngle to set. In radian.public double getGradAngle()
getGradAngle
in interface IShape
getGradAngle
in class LShape
public void setGradMidPt(double gradMidPoint)
setGradMidPt
in interface IShape
setGradMidPt
in class LShape
gradMidPoint
- the gradMidPt to set. Must be in [0,1].public double getGradMidPt()
getGradMidPt
in interface IShape
getGradMidPt
in class LShape
public IShape getShapeAt(int i)
ISetShapes
getShapeAt
in interface ISetShapes
i
- The position of the figure (-1: the last shape of the drawing).
public java.util.List<IShape> getShapes()
getShapes
in interface ISetShapes
public boolean isEmpty()
ISetShapes
isEmpty
in interface ISetShapes
public boolean removeShape(IShape sh)
ISetShapes
removeShape
in interface ISetShapes
sh
- The shape to remove.
public IShape removeShape(int i)
ISetShapes
removeShape
in interface ISetShapes
i
- the position of the shape in the vector (-1: the last shape of the vector).
public int size()
ISetShapes
size
in interface ISetShapes
public IGroup duplicate()
duplicate
in interface IAxes
duplicate
in interface IGroup
duplicate
in interface IShape
duplicate
in interface IText
duplicate
in class LShape
public IGroup duplicate(boolean duplicateShapes)
IGroup
duplicate
in interface IGroup
duplicateShapes
- True: the shapes will be duplicated as well.
public double getHatchingsAngle()
getHatchingsAngle
in interface IShape
getHatchingsAngle
in class LShape
public double getHatchingsSep()
getHatchingsSep
in interface IShape
getHatchingsSep
in class LShape
public double getHatchingsWidth()
getHatchingsWidth
in interface IShape
getHatchingsWidth
in class LShape
public void setHatchingsAngle(double hatchingsAngle)
setHatchingsAngle
in interface IShape
setHatchingsAngle
in class LShape
hatchingsAngle
- the hatchingsAngle to set. In radian.public void setHatchingsSep(double hatchingsSep)
setHatchingsSep
in interface IShape
setHatchingsSep
in class LShape
hatchingsSep
- the hatchingsSep to set. Must be greater or equal than 0.public void setHatchingsWidth(double hatchingsWidth)
setHatchingsWidth
in interface IShape
setHatchingsWidth
in class LShape
hatchingsWidth
- the hatchingsWidth to set. Must be greater than 0.public boolean isArrowable()
isArrowable
in interface IShape
isArrowable
in class LShape
public IArrow getArrowAt(int position)
getArrowAt
in interface IShape
getArrowAt
in class LShape
position
- The position of the wanted arrow (-1 for the last arrow).
public java.util.List<IArrow> getArrows()
getArrows
in interface IShape
getArrows
in class LShape
public ILine getArrowLine(IArrow arrow)
getArrowLine
in interface IShape
getArrowLine
in class LShape
arrow
- The arrow to analyse.
public void setDotSizeDim(double dotSizeDim)
IArrowable
setDotSizeDim
in interface IArrowable
setDotSizeDim
in class LShape
dotSizeDim
- The new dotsize dim.public void setDotSizeNum(double dotSizeNum)
IArrowable
setDotSizeNum
in interface IArrowable
setDotSizeNum
in class LShape
dotSizeNum
- The new dotsize num.public void setTBarSizeNum(double tbarSizeNum)
IArrowable
setTBarSizeNum
in interface IArrowable
setTBarSizeNum
in class LShape
tbarSizeNum
- The new tbarsize num.public void setTBarSizeDim(double tbarSizeDim)
IArrowable
setTBarSizeDim
in interface IArrowable
setTBarSizeDim
in class LShape
tbarSizeDim
- The new tbarsize num.public double getTBarSizeDim()
getTBarSizeDim
in interface IArrowable
getTBarSizeDim
in class LShape
public double getTBarSizeNum()
getTBarSizeNum
in interface IArrowable
getTBarSizeNum
in class LShape
public void setRBracketNum(double rBracketNum)
IArrowable
setRBracketNum
in interface IArrowable
setRBracketNum
in class LShape
rBracketNum
- The new rbracket num.public void setBracketNum(double bracketNum)
IArrowable
setBracketNum
in interface IArrowable
setBracketNum
in class LShape
bracketNum
- The new bracket num.public void setArrowLength(double lgth)
IArrowable
setArrowLength
in interface IArrowable
setArrowLength
in class LShape
lgth
- The new length of the arrow.public void setArrowSizeDim(double arrowSizeDim)
IArrowable
setArrowSizeDim
in interface IArrowable
setArrowSizeDim
in class LShape
arrowSizeDim
- The new arrowSize num.public void setArrowSizeNum(double arrowSizeNum)
IArrowable
setArrowSizeNum
in interface IArrowable
setArrowSizeNum
in class LShape
arrowSizeNum
- The new arrowSize num.public void setArrowInset(double inset)
IArrowable
setArrowInset
in interface IArrowable
setArrowInset
in class LShape
inset
- The new inset.public double getDotSizeDim()
getDotSizeDim
in interface IArrowable
getDotSizeDim
in class LShape
public double getDotSizeNum()
getDotSizeNum
in interface IArrowable
getDotSizeNum
in class LShape
public double getBracketNum()
getBracketNum
in interface IArrowable
getBracketNum
in class LShape
public double getArrowSizeNum()
getArrowSizeNum
in interface IArrowable
getArrowSizeNum
in class LShape
public double getArrowSizeDim()
getArrowSizeDim
in interface IArrowable
getArrowSizeDim
in class LShape
public double getArrowInset()
getArrowInset
in interface IArrowable
getArrowInset
in class LShape
public double getArrowLength()
getArrowLength
in interface IArrowable
getArrowLength
in class LShape
public double getRBracketNum()
getRBracketNum
in interface IArrowable
getRBracketNum
in class LShape
public boolean isShowPtsable()
isShowPtsable
in interface IShape
isShowPtsable
in class LShape
public void translate(double tx, double ty)
IShape
translate
in interface IShape
translate
in class LShape
tx
- The X translation.ty
- The Y translation.public IText.TextPosition getTextPosition()
getTextPosition
in interface IText
public void setTextPosition(IText.TextPosition textPosition)
IText
setTextPosition
in interface IText
textPosition
- The new text position of the text.public java.lang.String getText()
getText
in interface IText
public void setText(java.lang.String text)
setText
in interface IText
text
- the text to set.public double getX()
getX
in interface IPositionShape
public double getY()
getY
in interface IPositionShape
public IPoint getPosition()
getPosition
in interface IPositionShape
public void setPosition(IPoint pt)
IPositionShape
setPosition
in interface IPositionShape
pt
- The new position of the shape.public void setPosition(double x, double y)
IPositionShape
setPosition
in interface IPositionShape
x
- The X coordinate of the new position of the shape.y
- The Y coordinate of the new position of the shape.public void setX(double x)
IPositionShape
setX
in interface IPositionShape
x
- The X coordinate of the shape.public void setY(double y)
IPositionShape
setY
in interface IPositionShape
y
- The Y coordinate of the shape.public boolean containsTexts()
containsTexts
in interface IGroup
public void addToRotationAngle(IPoint gravCentre, double angle)
IShape
addToRotationAngle
in interface IShape
addToRotationAngle
in class LShape
gravCentre
- The gravity centre of the rotation. If null, the gravity centre of the shape will be used.angle
- The angle to add. In radian.public void setRotationAngle(double rotationAngle)
setRotationAngle
in interface IShape
setRotationAngle
in class LShape
rotationAngle
- the rotationAngle to set. In radian.public void rotate(IPoint point, double angle)
IShape
rotate
in interface IShape
rotate
in class LShape
point
- The rotation centre.angle
- The angle of rotation in radians.public double getRotationAngle()
getRotationAngle
in interface IShape
getRotationAngle
in class LShape
public IPoint getGravityCentre()
getGravityCentre
in interface IShape
getGravityCentre
in class LShape
public IPoint getBottomRightPoint()
getBottomRightPoint
in interface IShape
getBottomRightPoint
in class LShape
public IPoint getBottomLeftPoint()
getBottomLeftPoint
in interface IShape
getBottomLeftPoint
in class LShape
public IPoint getTopLeftPoint()
getTopLeftPoint
in interface IShape
getTopLeftPoint
in class LShape
public IPoint getTopRightPoint()
getTopRightPoint
in interface IShape
getTopRightPoint
in class LShape
public boolean hasHatchings()
hasHatchings
in interface IShape
hasHatchings
in class LShape
public boolean hasGradient()
hasGradient
in interface IShape
hasGradient
in class LShape
public void setModified(boolean modified)
Modifiable
setModified
in interface Modifiable
setModified
in class LShape
modified
- True: the element is will tagged as modified.public void setArrowStyle(IArrow.ArrowStyle style, int position)
IShape
setArrowStyle
in interface IShape
setArrowStyle
in class LShape
style
- The style to set.position
- The position of the arrow to modify.public IArrow.ArrowStyle getArrowStyle(int position)
getArrowStyle
in interface IShape
getArrowStyle
in class LShape
position
- The position of the arrow to use.
public java.awt.Color getDotFillingCol()
getDotFillingCol
in interface Dottable
public void setDotFillingCol(java.awt.Color fillingCol)
Dottable
setDotFillingCol
in interface Dottable
fillingCol
- its new colour.public IDot.DotStyle getDotStyle()
getDotStyle
in interface Dottable
public void setDotStyle(IDot.DotStyle style)
Dottable
setDotStyle
in interface Dottable
style
- The new style.public double getRadius()
getRadius
in interface Dottable
public void setRadius(double radius)
Dottable
setRadius
in interface Dottable
radius
- the radius to set. Must be greater than 0.public Arcable.ArcStyle getArcStyle()
getArcStyle
in interface Arcable
public void setArcStyle(Arcable.ArcStyle type)
setArcStyle
in interface Arcable
type
- the arc style to set.public double getAngleStart()
getAngleStart
in interface Arcable
public void setAngleStart(double angleStart)
setAngleStart
in interface Arcable
angleStart
- the angleStart to set.public double getAngleEnd()
getAngleEnd
in interface Arcable
public void setAngleEnd(double angleEnd)
setAngleEnd
in interface Arcable
angleEnd
- the angleEnd to set.public void scale(double x, double y, IShape.Position pos, java.awt.geom.Rectangle2D bound)
IShape
scale
in interface IShape
scale
in class LShape
x
- The X scale factor, in ]0,double].y
- The Y scale factor, in ]0,double].pos
- The position of the reference point: if the reference point is top-left point,
then the scale will extend or reduce the shape at the bottom-right point. If the reference
position is NORTH or SOUTH the sx parameter will not be used. If it is EAST or WEST the sy
parameter will not be used.bound
- The bound (e.g. the border of the selected shapes) used to compute the scaling.public boolean hasDot()
hasDot
in interface Dottable
public java.util.List<IShape.BorderPos> getBordersPositionList()
getBordersPositionList
in interface IGroup
public java.util.List<java.awt.Color> getLineColourList()
getLineColourList
in interface IGroup
public void setBordersPositionList(java.util.List<IShape.BorderPos> list)
IGroup
setBordersPositionList
in interface IGroup
list
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setLineColourList(java.util.List<java.awt.Color> list)
IGroup
setLineColourList
in interface IGroup
list
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Double> getAngleStartList()
getAngleStartList
in interface IGroup
public java.util.List<java.lang.Double> getAngleEndList()
getAngleEndList
in interface IGroup
public java.util.List<Arcable.ArcStyle> getArcStyleList()
getArcStyleList
in interface IGroup
public java.util.List<IArrow.ArrowStyle> getArrowStyleList(int i)
getArrowStyleList
in interface IGroup
i
- The index of the arrows to get.
public java.util.List<java.lang.Double> getRotationAngleList()
getRotationAngleList
in interface IGroup
public java.util.List<IText.TextPosition> getTextPositionList()
getTextPositionList
in interface IGroup
public java.util.List<java.lang.String> getTextList()
getTextList
in interface IGroup
public java.util.List<java.lang.Double> getHatchingsAngleList()
getHatchingsAngleList
in interface IGroup
public java.util.List<java.lang.Double> getHatchingsWidthList()
getHatchingsWidthList
in interface IGroup
public java.util.List<java.lang.Double> getHatchingsSepList()
getHatchingsSepList
in interface IGroup
public java.util.List<java.lang.Double> getGradAngleList()
getGradAngleList
in interface IGroup
public java.util.List<java.lang.Double> getGradMidPtList()
getGradMidPtList
in interface IGroup
public java.util.List<java.lang.Double> getLineArcList()
getLineArcList
in interface IGroup
public java.util.List<java.awt.Color> getFillingColList()
getFillingColList
in interface IGroup
public java.util.List<java.awt.Color> getHatchingsColList()
getHatchingsColList
in interface IGroup
public java.util.List<java.lang.Boolean> hasDbleBordList()
hasDbleBordList
in interface IGroup
public java.util.List<java.lang.Double> getDbleBordSepList()
getDbleBordSepList
in interface IGroup
public java.util.List<java.awt.Color> getDbleBordColList()
getDbleBordColList
in interface IGroup
public java.util.List<java.lang.Boolean> hasShadowList()
hasShadowList
in interface IGroup
public java.util.List<java.lang.Double> getShadowSizeList()
getShadowSizeList
in interface IGroup
public java.util.List<java.lang.Double> getShadowAngleList()
getShadowAngleList
in interface IGroup
public java.util.List<java.awt.Color> getShadowColList()
getShadowColList
in interface IGroup
public java.util.List<java.awt.Color> getGradColStartList()
getGradColStartList
in interface IGroup
public java.util.List<java.awt.Color> getGradColEndList()
getGradColEndList
in interface IGroup
public java.util.List<java.lang.Double> getThicknessList()
getThicknessList
in interface IGroup
public java.util.List<IShape.FillingStyle> getFillingStyleList()
getFillingStyleList
in interface IGroup
public java.util.List<IShape.LineStyle> getLineStyleList()
getLineStyleList
in interface IGroup
public java.util.List<java.awt.Color> getDotFillingColList()
getDotFillingColList
in interface IGroup
public java.util.List<IDot.DotStyle> getDotStyleList()
getDotStyleList
in interface IGroup
public java.util.List<java.lang.Double> getDotSizeList()
getDotSizeList
in interface IGroup
public void setAngleStartList(java.util.List<java.lang.Double> values)
IGroup
setAngleStartList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setDotStyleList(java.util.List<IDot.DotStyle> values)
IGroup
setDotStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setAngleEndList(java.util.List<java.lang.Double> values)
IGroup
setAngleEndList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setArcStyleList(java.util.List<Arcable.ArcStyle> values)
IGroup
setArcStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setArrowStyleList(java.util.List<IArrow.ArrowStyle> values, int i)
IGroup
setArrowStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.i
- The index of the arrow to set.public void setRotationAngleList(java.util.List<java.lang.Double> values)
IGroup
setRotationAngleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setTextPositionList(java.util.List<IText.TextPosition> values)
IGroup
setTextPositionList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setTextList(java.util.List<java.lang.String> values)
IGroup
setTextList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHatchingsAngleList(java.util.List<java.lang.Double> values)
IGroup
setHatchingsAngleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHatchingsWidthList(java.util.List<java.lang.Double> values)
IGroup
setHatchingsWidthList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHatchingsSepList(java.util.List<java.lang.Double> values)
IGroup
setHatchingsSepList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setGradAngleList(java.util.List<java.lang.Double> values)
IGroup
setGradAngleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setGradMidPtList(java.util.List<java.lang.Double> values)
IGroup
setGradMidPtList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setLineArcList(java.util.List<java.lang.Double> values)
IGroup
setLineArcList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setFillingColList(java.util.List<java.awt.Color> values)
IGroup
setFillingColList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHatchingsColList(java.util.List<java.awt.Color> values)
IGroup
setHatchingsColList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHasDbleBordList(java.util.List<java.lang.Boolean> values)
IGroup
setHasDbleBordList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setDbleBordSepList(java.util.List<java.lang.Double> values)
IGroup
setDbleBordSepList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setDbleBordColList(java.util.List<java.awt.Color> values)
IGroup
setDbleBordColList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setHasShadowList(java.util.List<java.lang.Boolean> values)
IGroup
setHasShadowList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setShadowSizeList(java.util.List<java.lang.Double> values)
IGroup
setShadowSizeList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setShadowAngleList(java.util.List<java.lang.Double> values)
IGroup
setShadowAngleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setShadowColList(java.util.List<java.awt.Color> values)
IGroup
setShadowColList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setGradColStartList(java.util.List<java.awt.Color> values)
IGroup
setGradColStartList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setGradColEndList(java.util.List<java.awt.Color> values)
IGroup
setGradColEndList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setThicknessList(java.util.List<java.lang.Double> values)
IGroup
setThicknessList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setFillingStyleList(java.util.List<IShape.FillingStyle> values)
IGroup
setFillingStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setLineStyleList(java.util.List<IShape.LineStyle> values)
IGroup
setLineStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setDotFillingColList(java.util.List<java.awt.Color> values)
IGroup
setDotFillingColList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setDotSizeList(java.util.List<java.lang.Double> values)
IGroup
setDotSizeList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public double getGridMinX()
getGridMinX
in interface IStandardGrid
public double getGridMaxX()
getGridMaxX
in interface IStandardGrid
public double getGridMinY()
getGridMinY
in interface IStandardGrid
public double getGridMaxY()
getGridMaxY
in interface IStandardGrid
public int getLabelsSize()
getLabelsSize
in interface IStandardGrid
public void setLabelsSize(int labelsSize)
IStandardGrid
setLabelsSize
in interface IStandardGrid
labelsSize
- The new size of the labels.public void setGridEndX(double x)
setGridEndX
in interface IStandardGrid
x
- The x-coordinate to set.public void setGridEndY(double y)
setGridEndY
in interface IStandardGrid
y
- The y-coordinate to set.public boolean isXLabelSouth()
isXLabelSouth
in interface IStandardGrid
public void setXLabelSouth(boolean isXLabelSouth)
setXLabelSouth
in interface IStandardGrid
isXLabelSouth
- the isXLabelSouth to set.public boolean isYLabelWest()
isYLabelWest
in interface IStandardGrid
public void setYLabelWest(boolean isYLabelWest)
setYLabelWest
in interface IStandardGrid
isYLabelWest
- the isYLabelWest to set.public double getGridStartX()
getGridStartX
in interface IStandardGrid
public double getGridStartY()
getGridStartY
in interface IStandardGrid
public void setGridStart(double x, double y)
setGridStart
in interface IStandardGrid
x
- The x-coordinate of the starting point of the grid.y
- The y-coordinate of the starting point of the grid.public double getGridEndX()
getGridEndX
in interface IStandardGrid
public double getGridEndY()
getGridEndY
in interface IStandardGrid
public void setGridEnd(double x, double y)
setGridEnd
in interface IStandardGrid
x
- The x-coordinate of the ending point of the grid.y
- The y-coordinate of the ending point of the grid.public double getOriginX()
getOriginX
in interface IStandardGrid
public double getOriginY()
getOriginY
in interface IStandardGrid
public void setOrigin(double x, double y)
setOrigin
in interface IStandardGrid
x
- The x-coordinate of the origin of the grid.y
- The y-coordinate of the origin of the grid.public void setGridStartY(double y)
setGridStartY
in interface IStandardGrid
y
- The y-coordinate to set.public void setGridStartX(double x)
setGridStartX
in interface IStandardGrid
x
- The x-coordinate to set.public void setOriginX(double x)
setOriginX
in interface IStandardGrid
x
- The X-coordinate to set.public void setOriginY(double y)
setOriginY
in interface IStandardGrid
y
- The Y-coordinate to set.public double getStep()
getStep
in interface IStandardGrid
public boolean containsStandardGrids()
containsStandardGrids
in interface IGroup
public boolean containsAxes()
containsAxes
in interface IGroup
public void setGridEndList(java.util.List<IPoint> values)
IGroup
setGridEndList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public void setGridStartList(java.util.List<IPoint> values)
IGroup
setGridStartList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IPoint> getGridStartList()
getGridStartList
in interface IGroup
public java.util.List<IPoint> getGridEndList()
getGridEndList
in interface IGroup
public IPoint getGridStart()
getGridStart
in interface IStandardGrid
public IPoint getGridEnd()
getGridEnd
in interface IStandardGrid
public void setGridOriginList(java.util.List<IPoint> values)
IGroup
setGridOriginList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IPoint> getGridOriginList()
getGridOriginList
in interface IGroup
public boolean isColourable()
isColourable
in interface IShape
isColourable
in class LShape
public void setGridLabelSizeList(java.util.List<java.lang.Integer> values)
IGroup
setGridLabelSizeList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Integer> getGridLabelSizeList()
getGridLabelSizeList
in interface IGroup
public void setGridXLabelSouthList(java.util.List<java.lang.Boolean> values)
IGroup
setGridXLabelSouthList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Boolean> getGridXLabelSouthList()
getGridXLabelSouthList
in interface IGroup
public void setGridYLabelWestList(java.util.List<java.lang.Boolean> values)
IGroup
setGridYLabelWestList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Boolean> getGridYLabelWestList()
getGridYLabelWestList
in interface IGroup
public void setAxesStyleList(java.util.List<IAxes.AxesStyle> values)
IGroup
setAxesStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IAxes.AxesStyle> getAxesStyleList()
getAxesStyleList
in interface IGroup
public double getIncrementX()
getIncrementX
in interface IAxes
public double getIncrementY()
getIncrementY
in interface IAxes
public void setIncrementX(double increment)
setIncrementX
in interface IAxes
increment
- the X increment to set.public void setIncrementY(double increment)
setIncrementY
in interface IAxes
increment
- the Y increment to set.public double getDistLabelsX()
getDistLabelsX
in interface IAxes
public double getDistLabelsY()
getDistLabelsY
in interface IAxes
public void setDistLabelsX(double distLabelsX)
setDistLabelsX
in interface IAxes
distLabelsX
- the distLabels.x to set.public void setDistLabelsY(double distLabelsY)
setDistLabelsY
in interface IAxes
distLabelsY
- the distLabels.y to set.public IAxes.PlottingStyle getLabelsDisplayed()
getLabelsDisplayed
in interface IAxes
public void setLabelsDisplayed(IAxes.PlottingStyle labelsDisplayed)
setLabelsDisplayed
in interface IAxes
labelsDisplayed
- the labelsDisplayed to set.public boolean isShowOrigin()
isShowOrigin
in interface IAxes
public void setShowOrigin(boolean showOrigin)
setShowOrigin
in interface IAxes
showOrigin
- the showOrigin to set.public IAxes.PlottingStyle getTicksDisplayed()
getTicksDisplayed
in interface IAxes
public void setTicksDisplayed(IAxes.PlottingStyle ticksDisplayed)
setTicksDisplayed
in interface IAxes
ticksDisplayed
- the ticksDisplayed to set.public IAxes.TicksStyle getTicksStyle()
getTicksStyle
in interface IAxes
public void setTicksStyle(IAxes.TicksStyle ticksStyle)
setTicksStyle
in interface IAxes
ticksStyle
- the ticksStyle to set.public double getTicksSize()
getTicksSize
in interface IAxes
public void setTicksSize(double ticksSize)
setTicksSize
in interface IAxes
ticksSize
- the ticksSize to set.public IAxes.AxesStyle getAxesStyle()
getAxesStyle
in interface IAxes
public void setAxesStyle(IAxes.AxesStyle axesStyle)
setAxesStyle
in interface IAxes
axesStyle
- the axesStyle to set.public void setAxesTicksStyleList(java.util.List<IAxes.TicksStyle> values)
IGroup
setAxesTicksStyleList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IAxes.TicksStyle> getAxesTicksStyleList()
getAxesTicksStyleList
in interface IGroup
public void setAxesTicksSizeList(java.util.List<java.lang.Double> values)
IGroup
setAxesTicksSizeList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Double> getAxesTicksSizeList()
getAxesTicksSizeList
in interface IGroup
public void setAxesTicksDisplayedList(java.util.List<IAxes.PlottingStyle> values)
IGroup
setAxesTicksDisplayedList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IAxes.PlottingStyle> getAxesTicksDisplayedList()
getAxesTicksDisplayedList
in interface IGroup
public void setAxesIncrementsList(java.util.List<IPoint> values)
IGroup
setAxesIncrementsList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IPoint> getAxesIncrementsList()
getAxesIncrementsList
in interface IGroup
public IPoint getIncrement()
getIncrement
in interface IAxes
public void setIncrement(IPoint increment)
setIncrement
in interface IAxes
increment
- The axes' increment to set.public void setAxesLabelsDisplayedList(java.util.List<IAxes.PlottingStyle> values)
IGroup
setAxesLabelsDisplayedList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IAxes.PlottingStyle> getAxesLabelsDisplayedList()
getAxesLabelsDisplayedList
in interface IGroup
public void setAxesShowOriginList(java.util.List<java.lang.Boolean> values)
IGroup
setAxesShowOriginList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<java.lang.Boolean> getAxesShowOriginList()
getAxesShowOriginList
in interface IGroup
public IPoint getDistLabels()
getDistLabels
in interface IAxes
public void setDistLabels(IPoint distLabels)
setDistLabels
in interface IAxes
distLabels
- The distance between the labels of the axes.public void setAxesDistLabelsList(java.util.List<IPoint> values)
IGroup
setAxesDistLabelsList
in interface IGroup
values
- The list of values to use. Its must must equals the number of
shapes of the group. If an element of the list is null, its corresponding
shape will not be set.public java.util.List<IPoint> getAxesDistLabelsList()
getAxesDistLabelsList
in interface IGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |