JHotDraw 7.0.6

Uses of Class
org.jhotdraw.draw.AttributeKey

Packages that use AttributeKey
org.jhotdraw.draw Defines a framework for drawing editors. 
org.jhotdraw.draw.action Provides Action objects for drawing editors as well as some specific user interface components to present them on a graphical user interface. 
org.jhotdraw.samples.net.figures Provides the NodeFigure for network diagrams. 
org.jhotdraw.samples.svg.figures Provides the figures for the SVG basic shapes. 
 

Uses of AttributeKey in org.jhotdraw.draw
 

Fields in org.jhotdraw.draw declared as AttributeKey
static AttributeKey<Liner> AttributeKeys.BEZIER_PATH_LAYOUTER
          The value of this attribute is a Liner object.
static AttributeKey<java.lang.Boolean> BezierFigure.CLOSED
           
static AttributeKey<Insets2DDouble> AttributeKeys.DECORATOR_INSETS
          The value of this attribute is a Insets2DDouble object.
static AttributeKey<LineDecoration> AttributeKeys.END_DECORATION
           
static AttributeKey<java.awt.Color> AttributeKeys.FILL_COLOR
          Fill color.
static AttributeKey<AttributeKeys.Underfill> AttributeKeys.FILL_UNDER_STROKE
          Fill under stroke.
static AttributeKey<java.lang.Boolean> AttributeKeys.FONT_BOLD
          The value of this attribute is a Boolean object.
static AttributeKey<java.awt.Font> AttributeKeys.FONT_FACE
          The value of this attribute is a Font object, which is used as a prototype to create the font for the text.
static AttributeKey<java.lang.Boolean> AttributeKeys.FONT_ITALIC
          The value of this attribute is a Boolean object.
static AttributeKey<java.lang.Double> AttributeKeys.FONT_SIZE
          The value of this attribute is a double object.
static AttributeKey<java.lang.Boolean> AttributeKeys.FONT_UNDERLINED
          The value of this attribute is a Boolean object.
static AttributeKey<java.lang.Boolean> DiamondFigure.IS_QUADRATIC
          If the attribute IS_QUADRATIC is set to true, all sides of the diamond have the same length.
static AttributeKey<Insets2DDouble> CompositeFigure.LAYOUT_INSETS
          The value of this attribute is a Insets2DDouble object.
static AttributeKey<Insets2DDouble> AttributeKeys.LAYOUT_INSETS
          The value of this attribute is a Insets2DDouble object.
static AttributeKey<Locator> LocatorLayouter.LAYOUT_LOCATOR
          LayoutLocator property used by the children to specify their location relative to the compositeFigure.
static AttributeKey<AttributeKeys.Orientation> AttributeKeys.ORIENTATION
          Specifies the direction of the triangle.
static AttributeKey<LineDecoration> AttributeKeys.START_DECORATION
           
static AttributeKey<java.lang.Integer> AttributeKeys.STROKE_CAP
          Stroke join.
static AttributeKey<java.awt.Color> AttributeKeys.STROKE_COLOR
          Stroke color.
static AttributeKey<java.lang.Double> AttributeKeys.STROKE_DASH_FACTOR
          A double used to specify the multiplication factor for the stroke dashes.
static AttributeKey<java.lang.Double> AttributeKeys.STROKE_DASH_PHASE
          A double used to specify the starting phase of the stroke dashes.
static AttributeKey<double[]> AttributeKeys.STROKE_DASHES
          An array of doubles used to specify the dash pattern in a BasicStroke;
static AttributeKey<java.lang.Double> AttributeKeys.STROKE_INNER_WIDTH_FACTOR
          Factor for the stroke inner width.
static AttributeKey<java.lang.Integer> AttributeKeys.STROKE_JOIN
          Stroke join.
static AttributeKey<java.lang.Double> AttributeKeys.STROKE_MITER_LIMIT_FACTOR
          Stroke miter limit factor.
static AttributeKey<AttributeKeys.StrokePlacement> AttributeKeys.STROKE_PLACEMENT
          Stroke placement.
static AttributeKey<AttributeKeys.StrokeType> AttributeKeys.STROKE_TYPE
          Stroke type.
static AttributeKey<java.lang.Double> AttributeKeys.STROKE_WIDTH
          Stroke width.
static AttributeKey<java.lang.String> AttributeKeys.TEXT
          The value of this attribute is a String object, which is used to display the text of the figure.
static AttributeKey<java.awt.Color> AttributeKeys.TEXT_COLOR
          Text color.
static AttributeKey<java.awt.Color> AttributeKeys.TEXT_SHADOW_COLOR
          Text shadow color.
static AttributeKey<Dimension2DDouble> AttributeKeys.TEXT_SHADOW_OFFSET
          Text shadow offset.
static AttributeKey<AttributeKeys.WindingRule> AttributeKeys.WINDING_RULE
          Fill under stroke.
 

Fields in org.jhotdraw.draw with type parameters of type AttributeKey
protected  java.util.HashMap<AttributeKey,java.lang.Object> GraphicalCompositeFigure.attributes
           
protected  java.util.Map<AttributeKey,java.lang.Object> BezierTool.attributes
           
static java.util.Map<java.lang.String,AttributeKey> AttributeKeys.supportedAttributeMap
           
static java.util.Set<AttributeKey> AttributeKeys.supportedAttributes
          A set with all attributes defined by this class.
 

Methods in org.jhotdraw.draw that return AttributeKey
 AttributeKey FigureEvent.getAttribute()
           
protected  AttributeKey GraphicalCompositeFigure.getAttributeKey(java.lang.String name)
           
protected  AttributeKey AttributedFigure.getAttributeKey(java.lang.String name)
           
protected  AttributeKey AbstractAttributedCompositeFigure.getAttributeKey(java.lang.String name)
           
 

Methods in org.jhotdraw.draw that return types with arguments of type AttributeKey
 java.util.Map<AttributeKey,java.lang.Object> GraphicalCompositeFigure.getAttributes()
           
 java.util.Map<AttributeKey,java.lang.Object> Figure.getAttributes()
          Returns a view to all attributes of this figure.
 java.util.Map<AttributeKey,java.lang.Object> AttributedFigure.getAttributes()
           
 java.util.Map<AttributeKey,java.lang.Object> AbstractCompositeFigure.getAttributes()
           
 java.util.Map<AttributeKey,java.lang.Object> AbstractAttributedCompositeFigure.getAttributes()
           
 

Methods in org.jhotdraw.draw with parameters of type AttributeKey
 void GraphicalCompositeFigure.basicSetAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void Figure.basicSetAttribute(AttributeKey key, java.lang.Object value)
          Sets an attribute of the figure without firing events.
 void BezierFigure.basicSetAttribute(AttributeKey key, java.lang.Object newValue)
           
 void AttributedFigure.basicSetAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void AbstractCompositeFigure.basicSetAttribute(AttributeKey name, java.lang.Object value)
           
 void AbstractAttributedCompositeFigure.basicSetAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
protected  void AbstractAttributedCompositeFigure.basicSetAttributeOnChildren(AttributeKey key, java.lang.Object newValue)
           
protected  void AbstractFigure.fireAttributeChanged(AttributeKey attribute, java.lang.Object oldValue, java.lang.Object newValue)
          Notify all listenerList that have registered interest for notification on this event type.
 java.lang.Object GraphicalCompositeFigure.getAttribute(AttributeKey key)
          Gets an attribute from the figure.
 java.lang.Object Figure.getAttribute(AttributeKey key)
          Gets an attribute from the Figure.
 java.lang.Object AttributedFigure.getAttribute(AttributeKey key)
          Gets an attribute from the figure.
 java.lang.Object AbstractCompositeFigure.getAttribute(AttributeKey name)
           
 java.lang.Object AbstractAttributedCompositeFigure.getAttribute(AttributeKey key)
          Gets an attribute from the figure.
 java.lang.Object DrawingEditor.getDefaultAttribute(AttributeKey key)
          Gets a default attribute from the editor.
 java.lang.Object DefaultDrawingEditor.getDefaultAttribute(AttributeKey key)
           
 boolean AttributedFigure.hasAttribute(AttributeKey key)
           
 boolean AbstractCompositeFigure.hasAttribute(AttributeKey key)
           
 boolean AbstractAttributedCompositeFigure.hasAttribute(AttributeKey key)
           
 boolean AttributedFigure.isAttributeEnabled(AttributeKey key)
           
 boolean AbstractAttributedCompositeFigure.isAttributeEnabled(AttributeKey key)
           
 void AttributedFigure.removeAttribute(AttributeKey key)
           
 void AbstractCompositeFigure.removeAttribute(AttributeKey key)
           
 void AbstractAttributedCompositeFigure.removeAttribute(AttributeKey key)
           
 void LabeledLineConnectionFigure.setAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void GraphicalCompositeFigure.setAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void Figure.setAttribute(AttributeKey key, java.lang.Object value)
          Sets an attribute of the figure.
 void AttributedFigure.setAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void AbstractCompositeFigure.setAttribute(AttributeKey name, java.lang.Object value)
           
 void AbstractAttributedCompositeFigure.setAttribute(AttributeKey key, java.lang.Object newValue)
          Sets an attribute of the figure.
 void GraphicalCompositeFigure.setAttributeEnabled(AttributeKey key, boolean b)
           
 void AttributedFigure.setAttributeEnabled(AttributeKey key, boolean b)
           
 void AbstractAttributedCompositeFigure.setAttributeEnabled(AttributeKey key, boolean b)
           
 void DrawingEditor.setDefaultAttribute(AttributeKey key, java.lang.Object value)
          Sets a default attribute of the editor.
 void DefaultDrawingEditor.setDefaultAttribute(AttributeKey key, java.lang.Object newValue)
           
 

Method parameters in org.jhotdraw.draw with type arguments of type AttributeKey
 void AttributedFigure.setAttributes(java.util.HashMap<AttributeKey,java.lang.Object> map)
           
 void AbstractAttributedCompositeFigure.setAttributes(java.util.HashMap<AttributeKey,java.lang.Object> map)
           
 

Constructors in org.jhotdraw.draw with parameters of type AttributeKey
AttributeChangeEdit(Figure owner, AttributeKey name, java.lang.Object oldValue, java.lang.Object newValue)
          Creates a new instance.
FigureEvent(Figure source, AttributeKey attribute, java.lang.Object oldValue, java.lang.Object newValue)
          Constructs an event for the given source Figure.
 

Constructor parameters in org.jhotdraw.draw with type arguments of type AttributeKey
BidirectionalConnectionTool(ConnectionFigure prototype, java.util.Map<AttributeKey,java.lang.Object> attributes)
           
ConnectionTool(java.lang.String prototypeClassName, java.util.Map<AttributeKey,java.lang.Object> attributes)
           
CreationTool(Figure prototype, java.util.Map<AttributeKey,java.lang.Object> attributes)
          Creates a new instance.
CreationTool(Figure prototype, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name)
          Creates a new instance.
CreationTool(java.lang.String prototypeClassName, java.util.Map<AttributeKey,java.lang.Object> attributes)
           
CreationTool(java.lang.String prototypeClassName, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name)
           
 

Uses of AttributeKey in org.jhotdraw.draw.action
 

Fields in org.jhotdraw.draw.action with type parameters of type AttributeKey
protected  java.util.Map<AttributeKey,java.lang.Object> AttributeAction.attributes
           
 

Methods in org.jhotdraw.draw.action with parameters of type AttributeKey
static void ToolBarButtonFactory.addColorButtonTo(javax.swing.JToolBar bar, DrawingEditor editor, AttributeKey attributeKey, java.util.Map<java.lang.String,java.awt.Color> colorMap, int columnCount, java.lang.String labelKey, ResourceBundleUtil labels)
           
 

Constructors in org.jhotdraw.draw.action with parameters of type AttributeKey
AttributeAction(DrawingEditor editor, AttributeKey key, java.lang.Object value)
          Creates a new instance.
AttributeAction(DrawingEditor editor, AttributeKey key, java.lang.Object value, javax.swing.Icon icon)
          Creates a new instance.
AttributeAction(DrawingEditor editor, AttributeKey key, java.lang.Object value, java.lang.String name)
          Creates a new instance.
AttributeAction(DrawingEditor editor, AttributeKey key, java.lang.Object value, java.lang.String name, javax.swing.Icon icon)
           
AttributeAction(DrawingEditor editor, AttributeKey key, java.lang.Object value, java.lang.String name, javax.swing.Icon icon, javax.swing.Action compatibleTextAction)
           
AttributeToggler(DrawingEditor editor, AttributeKey key, java.lang.Object value1, java.lang.Object value2)
          Creates a new instance.
AttributeToggler(DrawingEditor editor, AttributeKey key, java.lang.Object value1, java.lang.Object value2, javax.swing.Action compatibleTextAction)
           
ColorAttributeIcon(DrawingEditor editor, AttributeKey<java.awt.Color> key, java.awt.Image image)
           
ColorAttributeIcon(DrawingEditor editor, AttributeKey<java.awt.Color> key, java.net.URL imageLocation)
          Creates a new instance.
ColorChooserAction(DrawingEditor editor, AttributeKey key)
          Creates a new instance.
ColorChooserAction(DrawingEditor editor, AttributeKey key, javax.swing.Icon icon)
          Creates a new instance.
ColorChooserAction(DrawingEditor editor, AttributeKey key, java.lang.String name)
          Creates a new instance.
ColorChooserAction(DrawingEditor editor, AttributeKey key, java.lang.String name, javax.swing.Icon icon)
           
DefaultAttributeAction(DrawingEditor editor, AttributeKey key)
          Creates a new instance.
DefaultAttributeAction(DrawingEditor editor, AttributeKey[] keys)
           
DefaultAttributeAction(DrawingEditor editor, AttributeKey[] keys, java.lang.String name, javax.swing.Icon icon)
           
DefaultAttributeAction(DrawingEditor editor, AttributeKey key, javax.swing.Icon icon)
          Creates a new instance.
DefaultAttributeAction(DrawingEditor editor, AttributeKey key, java.lang.String name)
          Creates a new instance.
DefaultAttributeAction(DrawingEditor editor, AttributeKey key, java.lang.String name, javax.swing.Icon icon)
           
 

Constructor parameters in org.jhotdraw.draw.action with type arguments of type AttributeKey
AttributeAction(DrawingEditor editor, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name, javax.swing.Icon icon)
           
 

Uses of AttributeKey in org.jhotdraw.samples.net.figures
 

Methods in org.jhotdraw.samples.net.figures with parameters of type AttributeKey
 void NodeFigure.setAttribute(AttributeKey key, java.lang.Object newValue)
           
 

Uses of AttributeKey in org.jhotdraw.samples.svg.figures
 

Fields in org.jhotdraw.samples.svg.figures declared as AttributeKey
static AttributeKey<SVGText.TextAnchor> SVGText.TEXT_ANCHOR
           
 


Copyright 1996-2006 © JHotDraw.org