http://www.jpicedt.org

Uses of Class
jpicedt.graphic.model.PicAttributeSet

Packages that use PicAttributeSet
jpicedt.format.input.util This package contains helper classes for building a parser based on the well-known RegExp scheme, yet with a strong object-oriented approach in mind. 
jpicedt.format.output.eepic Classes (formatter, view factory,...) related to the epic/eepic content-type. 
jpicedt.format.output.latex Classes (formatter, view factory,...) related to the LaTeX (standard) content-type. 
jpicedt.graphic.model Document structure and graphic primitives. 
jpicedt.graphic.toolkit Controller (document editing through UI actions) 
jpicedt.graphic.view Document appearance. 
 

Uses of PicAttributeSet in jpicedt.format.input.util
 

Methods in jpicedt.format.input.util that return PicAttributeSet
 PicAttributeSet Pool.getAttributeSet(Pool.Key key)
          Convenience for retrieving a "PicAttributeSet" value ; can be used in conjunction with static methods defined in jpicedt.graphic.model.StyleConstants to retrieve attributes values with less burden.
 

Constructors in jpicedt.format.input.util with parameters of type PicAttributeSet
InstanciationExpression(String tag, Element prototype, PicAttributeSet attributes, Pool pl)
           
 

Uses of PicAttributeSet in jpicedt.format.output.eepic
 

Methods in jpicedt.format.output.eepic with parameters of type PicAttributeSet
protected  Arrow EepicViewFactory.createArrow(PicAttributeSet set, PicAttributeName direction)
           
protected  Paint EepicViewFactory.createPaintForInterior(PicAttributeSet set)
           
protected  Paint EepicViewFactory.createPaintForOutline(PicAttributeSet set)
           
protected  Stroke EepicViewFactory.createStroke(PicAttributeSet set)
           
protected  void EepicViewFactory.paintHatches(Graphics2D g, PicAttributeSet set, Shape shape)
          paint hatches (vlines,...) depending on the FILL_STYLE attributes of the given set.
protected  void EepicViewFactory.paintOverStrike(Graphics2D g, PicAttributeSet set, Shape shape)
          paint overstrike ; overriden to do nothing
protected  void EepicViewFactory.paintShadow(Graphics2D g, PicAttributeSet set, Shape shape)
          paint shadow ; overriden to do nothing, since eepic and LaTeX don't support shadowing
 

Uses of PicAttributeSet in jpicedt.format.output.latex
 

Methods in jpicedt.format.output.latex with parameters of type PicAttributeSet
protected  Paint LatexViewFactory.createPaintForInterior(PicAttributeSet set)
          Returns LATEX_FILL, ie black filling only is allowed.
 

Uses of PicAttributeSet in jpicedt.graphic.model
 

Fields in jpicedt.graphic.model declared as PicAttributeSet
protected  PicAttributeSet AbstractElement.attributeSet
          the attribute set
protected  PicAttributeSet PicAttributeSet.parent
          if non-null, used as the resolving parent when name is not found in current set
 

Methods in jpicedt.graphic.model that return PicAttributeSet
 PicAttributeSet PicAttributeSet.copyAttributes()
          return a copy of this PicAttributeSet with the same resolving parent as the source, and which is guaranteed not to change over time.
 PicAttributeSet AbstractElement.getAttributeSet()
          Returns the AttributeSet bound to this AbstractElement.
 PicAttributeSet Element.getAttributeSet()
           
 PicAttributeSet PicAttributeSet.getResolveParent()
          Returns the resolving parent, or DEFAULT_SET if it's null.
 

Methods in jpicedt.graphic.model with parameters of type PicAttributeSet
static double StyleConstants.getArrowGlobalScaleLength(PicAttributeSet set)
          Returns the scale-factor for the arrow length
static double StyleConstants.getArrowGlobalScaleWidth(PicAttributeSet set)
          Returns the scale-factor for the arrow width
static double StyleConstants.getArrowInsetScale(PicAttributeSet set)
          Returns the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)
static double StyleConstants.getArrowLengthScale(PicAttributeSet set)
          Returns the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)
static double StyleConstants.getArrowWidthLineWidthScale(PicAttributeSet set)
          Returns the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)
static double StyleConstants.getArrowWidthMinimumMm(PicAttributeSet set)
          Returns the relative size for arrows (width = linewidth-scale * line-width + minimum_size)
static double StyleConstants.getBracketLengthScale(PicAttributeSet set)
          Returns the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static double StyleConstants.getDashOpaque(PicAttributeSet set)
          Return the opaque dash length , guaranteed to be positive.
static double StyleConstants.getDashTransparent(PicAttributeSet set)
          Return the transparent dash length , guaranteed to be positive.
static String StyleConstants.getDimen(PicAttributeSet set)
          Return a String (OUTER, MIDDLE or INNER) indicating whether the dimensions of boxes, circles,...
static double StyleConstants.getDotSep(PicAttributeSet set)
          Return the dot separation, guaranteed to be positive.
static Color StyleConstants.getDoubleLineColor(PicAttributeSet set)
          Return the double-line colour
static double StyleConstants.getDoubleLineSep(PicAttributeSet set)
          Return the DoubleLine separation, guaranteed to be positive.
static Color StyleConstants.getFillColor(PicAttributeSet set)
          Return the fill colour
static String StyleConstants.getFillStyle(PicAttributeSet set)
          Return the fill style
static double StyleConstants.getHatchAngle(PicAttributeSet set)
          Return the hatch angle, guaranteed to be b/w -90 and 90.
static Color StyleConstants.getHatchColor(PicAttributeSet set)
          Return the hatch colour
static double StyleConstants.getHatchSep(PicAttributeSet set)
          Return the distance b/w hatches, guaranteed to be positive
static double StyleConstants.getHatchWidth(PicAttributeSet set)
          Return the hatch width, guaranteed to be positive
static Arrow StyleConstants.getLeftArrow(PicAttributeSet set)
          Return the left arrow
static Color StyleConstants.getLineColor(PicAttributeSet set)
          Return the stroke color
static String StyleConstants.getLineStyle(PicAttributeSet set)
          Return the line style
static double StyleConstants.getLineWidth(PicAttributeSet set)
          Return the line width, guaranteed to be positive.
static Color StyleConstants.getOverStrikeColor(PicAttributeSet set)
          Return the border color
static double StyleConstants.getOverStrikeWidth(PicAttributeSet set)
          Return the overstrike width, guaranteed to be positive.
static double StyleConstants.getPolydotsAngle(PicAttributeSet set)
          Returns the factor by which dots are to be rotated (in degrees and CCW)
static double StyleConstants.getPolydotsHorizontalScale(PicAttributeSet set)
          Returns the factor by which dots are to be scaled horizontally
static double StyleConstants.getPolydotsSizeLineWidthScale(PicAttributeSet set)
          Returns the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)
static double StyleConstants.getPolydotsSizeMinimumMm(PicAttributeSet set)
          Returns the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
static String StyleConstants.getPolydotsStyle(PicAttributeSet set)
          Returns the style of polygon dots
static double StyleConstants.getPolydotsVerticalScale(PicAttributeSet set)
          Returns the factor by which dots are to be scaled vertically
static String StyleConstants.getPstCustom(PicAttributeSet set)
          Return the pst custom parameters
static Arrow StyleConstants.getRightArrow(PicAttributeSet set)
          Return the right arrow
static double StyleConstants.getRoundedBracketLengthScale(PicAttributeSet set)
          Returns the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static double StyleConstants.getShadowAngle(PicAttributeSet set)
          Return the shadow angle, guaranteed to lie b/w -180 and 180
static Color StyleConstants.getShadowColor(PicAttributeSet set)
          Return the shadow colour
static double StyleConstants.getShadowSize(PicAttributeSet set)
          Return the shadow size , guaranteed to be positive.
static double StyleConstants.getTBarWidthLineWidthScale(PicAttributeSet set)
          Returns the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)
static double StyleConstants.getTBarWidthMinimumMm(PicAttributeSet set)
          Returns the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)
static boolean StyleConstants.isDoubleLine(PicAttributeSet set)
          Return whether double-line is on or off
static boolean StyleConstants.isOverStrike(PicAttributeSet set)
          Return whether overstrike is on or off
static boolean StyleConstants.isPolydotsSuperimposed(PicAttributeSet set)
          Returns true if dots superimpose on underlying curve
static boolean StyleConstants.isShadow(PicAttributeSet set)
          Return whether shadow is on or off
static void StyleConstants.setArrowGlobalScaleLength(PicAttributeSet set, double d)
          Sets the scale-factor for the arrow length
static void StyleConstants.setArrowGlobalScaleWidth(PicAttributeSet set, double d)
          Sets the scale-factor for the arrow width
static void StyleConstants.setArrowInsetScale(PicAttributeSet set, double d)
          Sets the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)
static void StyleConstants.setArrowLengthScale(PicAttributeSet set, double d)
          Sets the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)
static void StyleConstants.setArrowWidthLineWidthScale(PicAttributeSet set, double d)
          Sets the the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)
static void StyleConstants.setArrowWidthMinimumMm(PicAttributeSet set, double d)
          Sets the relative-size for arrows (width = linewidth-scale * line-width + minimum_size)
 void PicAttributeSet.setAttributes(PicAttributeSet src)
          Sets several name/value pairs at a time from the given set.
 void AbstractElement.setAttributeSet(PicAttributeSet attributeSet)
          Bind the given attributes set to this Element.
 void BranchElement.setAttributeSet(PicAttributeSet set)
          set AttributeSet for this BranchElement and propagate to children
 void Element.setAttributeSet(PicAttributeSet attributeSet)
           
static void StyleConstants.setBracketLengthScale(PicAttributeSet set, double d)
          Sets the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static void StyleConstants.setDashOpaque(PicAttributeSet set, double d)
          set the opaque dash length
static void StyleConstants.setDashTransparent(PicAttributeSet set, double d)
          set the transparent dash length
static void StyleConstants.setDimen(PicAttributeSet set, String style)
          set the "dimen" parameter to OUTER, MIDDLE or INNER.
static void StyleConstants.setDotSep(PicAttributeSet set, double d)
          set the dot separation
static void StyleConstants.setDoubleLine(PicAttributeSet set, boolean b)
          set whether double-line is on or off
static void StyleConstants.setDoubleLineColor(PicAttributeSet set, Color c)
          Return the double-line colour
static void StyleConstants.setDoubleLineSep(PicAttributeSet set, double d)
          set the DoubleLine separation
static void StyleConstants.setFillColor(PicAttributeSet set, Color c)
          set the fill colour
static void StyleConstants.setFillStyle(PicAttributeSet set, String style)
          set the fill style to NONE, SOLID, HLINES, ...
static void StyleConstants.setHatchAngle(PicAttributeSet set, double d)
          set the hatch angle
static void StyleConstants.setHatchColor(PicAttributeSet set, Color c)
          set the hatch colour
static void StyleConstants.setHatchSep(PicAttributeSet set, double d)
          set the distance b/w hatches
static void StyleConstants.setHatchWidth(PicAttributeSet set, double d)
          set the hatch width
static void StyleConstants.setLeftArrow(PicAttributeSet set, Arrow a)
          set the left arrow
static void StyleConstants.setLineColor(PicAttributeSet set, Color c)
          set the stroke color
static void StyleConstants.setLineStyle(PicAttributeSet set, String style)
          set the line style
static void StyleConstants.setLineWidth(PicAttributeSet set, double width)
          set the line width
static void StyleConstants.setOverStrike(PicAttributeSet set, boolean b)
          set whether overstrike is on or off
static void StyleConstants.setOverStrikeColor(PicAttributeSet set, Color c)
          set the border color
static void StyleConstants.setOverStrikeWidth(PicAttributeSet set, double width)
          set the overstrike width
static void StyleConstants.setPolydotsAngle(PicAttributeSet set, double d)
          Sets the factor by which dots are to be rotated (in degrees and CCW)
static void StyleConstants.setPolydotsHorizontalScale(PicAttributeSet set, double d)
          Sets the factor by which dots are to be scaled horizontally
static void StyleConstants.setPolydotsSizeLineWidthScale(PicAttributeSet set, double d)
          Sets the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)
static void StyleConstants.setPolydotsSizeMinimumMm(PicAttributeSet set, double d)
          Sets the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
static void StyleConstants.setPolydotsStyle(PicAttributeSet set, String s)
          Sets the style of polygon dots
static void StyleConstants.setPolydotsSuperimposed(PicAttributeSet set, boolean b)
          Sets whether dots superimpose on underlying curve or not
static void StyleConstants.setPolydotsVerticalScale(PicAttributeSet set, double d)
          Sets the factor by which dots are to be scaled vertically
static void StyleConstants.setPstCustom(PicAttributeSet set, String s)
          set pst custom parameters
 void PicAttributeSet.setResolveParent(PicAttributeSet parent)
          set the resolving parent.
static void StyleConstants.setRightArrow(PicAttributeSet set, Arrow a)
          set the right arrow
static void StyleConstants.setRoundedBracketLengthScale(PicAttributeSet set, double d)
          Sets the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static void StyleConstants.setShadow(PicAttributeSet set, boolean b)
          set whether shadow is on or off
static void StyleConstants.setShadowAngle(PicAttributeSet set, double d)
          set the shadow angle
static void StyleConstants.setShadowColor(PicAttributeSet set, Color c)
          set the shadow colour
static void StyleConstants.setShadowSize(PicAttributeSet set, double d)
          set the ShadowSize
static void StyleConstants.setTBarWidthLineWidthScale(PicAttributeSet set, double d)
          Sets the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)
static void StyleConstants.setTBarWidthMinimumMm(PicAttributeSet set, double d)
          Sets the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)
 void Arrow.syncAttributes(PicAttributeSet set)
          Configure the parameters of this arrow (size, scale, inset, ...) from the given attribute set, aka view/model synchronization.
 

Constructors in jpicedt.graphic.model with parameters of type PicAttributeSet
AbstractCurve(boolean closed, PicAttributeSet set)
          Creates a new empty Abstract curve with the given set of attributes
AbstractCurve(int nbSegments, boolean closed, PicAttributeSet set)
          Creates a new Abstract curve with the given number of segments, and attaches the given attribute set to it.
AbstractElement(PicAttributeSet attributeSet)
          construct an AbstractElement with no parent and the given PicAttributeSet.
BranchElement(PicAttributeSet attributeSet)
          construct a BranchElement with no parent and the given PicAttributeSet
DefaultLeafElement(int nPts, PicAttributeSet attributeSet)
          construct a DefaultElement with no parent and the given PicAttributeSet, and the given number of specification points.
PicAttributeSet(PicAttributeSet src)
          cloning constructor
PicCircleFrom3Points(boolean plain, int closure, PicAttributeSet set)
          Creates a new arc or circle reduced to a single point located at (0,0), with the given closure and attribute set.
PicCircleFrom3Points(PicAttributeSet set)
          Creates a new (full) circle reduced to a single point located at (0,0), with the given attribute set.
PicCircleFrom3Points(PicPoint pt1, PicPoint pt2, PicPoint pt3, boolean plain, int closure, PicAttributeSet set)
          Create a new arc or circle whose geometry is specified by the 3 given points, and with the given attribute set.
PicCircleFrom3Points(PicPoint pt1, PicPoint pt2, PicPoint pt3, PicAttributeSet set)
          Create a new circle whose geometry is specificed by the the 3 given points, and with the given attribute set.
PicEllipse(int closure, PicAttributeSet set)
          Create a new PicEllipse, centered at (0,0), with a null radius, the given closure type, and the given attribute set.
PicEllipse(PicAttributeSet set)
          Create a new PicEllipse, centered at (0,0), with a null radius, and the given attribute set.
PicEllipse(PicPoint p1, PicPoint p2, PicPoint p3, int closure, PicAttributeSet set)
          Create a new PicEllipse object using the 3 given points as 3 consecutive points of the surrounding parallelogram, and the given attribute set.
PicGroup(PicAttributeSet attributeSet)
          construct a PicGroup with no parent and the given PicAttributeSet
PicMultiCurve(boolean closed, PicAttributeSet set)
          Create a new empty multi curve with the given set of attribute
PicMultiCurve(PicPoint[] pts, PicAttributeSet set)
          Create a new multi-curve filled with the given array of PicPoint's, each segment being a curved Bezier segment.
PicMultiCurve(PicPoint pt1, PicAttributeSet set)
          Create a new open multi curve reduced to the given point, and the given attribute set
PicMultiCurve(PicPoint pt1, PicPoint pt2, PicAttributeSet set)
          Create a new straight open multi curve with the two given points, and the given attribute set.
PicNodeConnection(DefaultLeafElement _nodeA, DefaultLeafElement _nodeB, String _edgeType, PicAttributeSet set)
           
PicParallelogram(PicAttributeSet set)
          Creates a new PicParallelogram reduced to (0,0), with the given attribute set
PicParallelogram(PicPoint pt, PicAttributeSet set)
          Create a new PicParallelogram reduced to a point located at the given position
PicParallelogram(PicPoint pt1, PicPoint pt2, PicPoint pt3, PicAttributeSet set)
          Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram.
PicPsCurve(boolean closed, PicAttributeSet set)
          Create a new empty pscurve with the given attribute set.
PicPsCurve(PicPoint[] polyPts, boolean closed, double a, double b, double c, PicAttributeSet set)
          Create a new pscurve initialized from the given array of PicPoint's.
PicPsCurve(PicPoint[] polygonPts, boolean closed, PicAttributeSet set)
          Create a new pscurve initialized from the given array of PicPoint's, using the default curvature values.
PicSmoothPolygon(boolean closed, PicAttributeSet set)
          Create a new empty smooth polygon with the given attribute set.
PicSmoothPolygon(PicPoint[] polygonPts, boolean closed, double[] smoothCoeffs, PicAttributeSet set)
          Create a new smooth polygon initialized from the given array of PicPoint's, using the given array of smoothness values.
PicSmoothPolygon(PicPoint[] polyPts, boolean closed, double smoothCoeff, PicAttributeSet set)
          Create a new smooth polygon initialized from the given array of PicPoint's.
PicSmoothPolygon(PicPoint[] polygonPts, boolean closed, PicAttributeSet set)
          Create a new smooth polygon initialized from the given array of PicPoint's, using the default smoothness value.
PicText(PicAttributeSet set)
          Creates a PicText object with the following default values : empty string, frame and alignment according to the attribute set and anchor point at (0,0)
PicText(PicPoint ptA, PicAttributeSet set)
          Creates a PicText object with the following default values :
empty string, frame and alignment according to the attribute set
PicText(PicPoint ptA, String textString, PicAttributeSet set)
          Create a new PicText object with the whole bunch of parameters !
TextEditable(String textString, PicPoint anchorPoint, PicAttributeSet set)
          Construct a new TextEditable with the given content and attribute set
 

Uses of PicAttributeSet in jpicedt.graphic.toolkit
 

Methods in jpicedt.graphic.toolkit that return PicAttributeSet
 PicAttributeSet EditorKit.getInputAttributes()
          get the input attributes for the PECanvas attached to this EditorKit
 

Methods in jpicedt.graphic.toolkit with parameters of type PicAttributeSet
 void EditorKit.setInputAttributes(PicAttributeSet set)
          set the input attributes for the PECanvas attached to this EditorKit
 

Uses of PicAttributeSet in jpicedt.graphic.view
 

Methods in jpicedt.graphic.view with parameters of type PicAttributeSet
protected  Arrow DefaultViewFactory.createArrow(PicAttributeSet set, PicAttributeName direction)
           
protected  Paint DefaultViewFactory.createPaintForInterior(PicAttributeSet set)
          Returns a Paint object from the given attributes, that is suited for painting the interior of a shape.
protected  Paint DefaultViewFactory.createPaintForOutline(PicAttributeSet set)
          Returns a Paint object from the given attributes, that is suited for painting an outline, or null if LINE_STYLE is NONE.
protected  Stroke DefaultViewFactory.createStroke(PicAttributeSet set)
           
protected  void DefaultViewFactory.paintHatches(Graphics2D g, PicAttributeSet set, Shape shape)
          paint hatches (vlines,...) depending on the FILL_STYLE attributes of the given set.
protected  void DefaultViewFactory.paintOverStrike(Graphics2D g, PicAttributeSet set, Shape shape)
          paint overstrike depending on the OVER_STRIKE attribute and rel.
protected  void DefaultViewFactory.paintShadow(Graphics2D g, PicAttributeSet set, Shape shape)
          paint shadow depending on the SHADOW attribute and rel.
 


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org