Uses of Interface
com.tensegrity.generic.attribute.AttributeCollection

Packages that use AttributeCollection
com.tensegrity.composite.geometry.persistence Provides interfaces and classes for making geometry attributes of composites persistent. 
com.tensegrity.composite.persistence Provides classes for making composite objects persistent. 
com.tensegrity.generic.attribute Contains interfaces that define the attribute framework and its associated exceptions. 
com.tensegrity.generic.persistence Holds classes and interfaces useful to make instances of objects of the Tensegrity-API persistent.  
com.tensegrity.generic.util Core classes for tensegrity-software packages.  
com.tensegrity.gui.graphdocument This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents.  
com.tensegrity.gui.swing.dialog This package contains several Dialog implementations, such as a ColorChooser for the three Format types (Paint, Stroke, Font) of the Graphics API.  
 

Uses of AttributeCollection in com.tensegrity.composite.geometry.persistence
 

Methods in com.tensegrity.composite.geometry.persistence with parameters of type AttributeCollection
static void GeometryPersistenceUtilities.addSize(AttributeCollection collection, java.lang.String attName, Size size)
          This methods adds the parameter Size to the given AttributeCollection by creating a comma separated string from the values of the Size.extensions array and using the parameter String attName as name for the newly added attribute.
 

Uses of AttributeCollection in com.tensegrity.composite.persistence
 

Methods in com.tensegrity.composite.persistence with parameters of type AttributeCollection
static void CompositeConstants.addFormat(AttributeCollection col, java.lang.String name, Format format)
          Adds the Format format to the given AttributeCollection, where name is the name of the newly created Attribute.
 

Uses of AttributeCollection in com.tensegrity.generic.attribute
 

Subinterfaces of AttributeCollection in com.tensegrity.generic.attribute
 interface AttributeList
          This interface defines an ordered collection of attributes.
 interface AttributeSet
          This interface defines a collection of Attributes.
 

Methods in com.tensegrity.generic.attribute that return AttributeCollection
 AttributeCollection AttributeCollection.merge(AttributeCollection other)
          This method creates a new AttributeCollection reflecting a merge of the given collection with this collection.
 

Methods in com.tensegrity.generic.attribute with parameters of type AttributeCollection
static boolean AttributeSetPool.addAttributePaths(AttributeCollection collection)
          Adds the list or set of attributes to the pool.
protected static boolean AttributeSetPool.addAttributePaths(AttributeCollection collection, AttributeSet parentSet, java.lang.String path)
          Adds the list or set of attributes to the pool.
protected static AttributeSet AttributeSetPool.assertPath(AttributeCollection collection, java.lang.String path)
          Returns the attributeset at the location defined by the given path.
 void AttributeCollectionVisitor.enterAttributeCollection(AttributeCollection attributeSet, int level, java.lang.String path)
          This method is invoked during traversal of an AtributeCollection hierarchy each time a nested AtributeCollection is encountered and entered.
 void AttributeCollectionVisitor.leaveAttributeCollection(AttributeCollection attributeSet, int level, java.lang.String path)
          This method is invoked during traversal of an AtributeCollection hierarchy each time after an AtributeCollection was visited.
 AttributeCollection AttributeCollection.merge(AttributeCollection other)
          This method creates a new AttributeCollection reflecting a merge of the given collection with this collection.
 void XMLVisitor.enterAttributeCollection(AttributeCollection set, int level, java.lang.String path)
           
 void XMLVisitor.leaveAttributeCollection(AttributeCollection set, int level, java.lang.String path)
           
 

Uses of AttributeCollection in com.tensegrity.generic.persistence
 

Methods in com.tensegrity.generic.persistence with parameters of type AttributeCollection
static void BuilderUtilities.assertNotNull(java.lang.Object value, AttributeCollection attributes, java.lang.String attributeName)
          Method assertNotNull checks whether a given object is not null and throws a BuildException with a detailed error message.
static void BuilderUtilities.assertNotNull(Attribute attribute, AttributeCollection attributes, java.lang.String attributeName)
          Method assertNotNull checks whether a given Attribute is not null and throws a BuildException with a detailed error message.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String name)
          This method verifies whether a given AttributeCollection contains an Attribute with the given name.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String[] names)
          Method assertContains verifies whether a list of attributes identified by the list of names are in a given AttributeCollection.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String[] names, int atleast)
          Method assertContains verifies if an AttributeCollection contains a certain amount of Attributes identified by the given list of names.
static void BuilderUtilities.assertContainsMax(AttributeCollection attributes, java.lang.String[] names, int max)
          Checks whether a given AttributeCollection contains more than max attributes with the specified name.
 void EntityRegistry.checkCandidates(AttributeCollection attributes)
           
protected  boolean XMLWriter.storeToDocument(AttributeCollection collection, org.w3c.dom.Element element, org.w3c.dom.Document document)
          Deprecated. Stores the give collection under the node given by element.
protected  boolean XMLReader.parseToCollection(org.w3c.dom.Element elem, AttributeCollection collection)
          Deprecated. Parses a xml element (and its subnodes) to fill the given collection
 

Uses of AttributeCollection in com.tensegrity.generic.util
 

Methods in com.tensegrity.generic.util that return AttributeCollection
static AttributeCollection AttributeOperations.getMutableCopy(AttributeCollection coll)
          Creates a mutable copy of an AttributeCollection by creating new mutable attributes containing the original name, value and constraint.
 

Methods in com.tensegrity.generic.util with parameters of type AttributeCollection
static boolean AttributeOperations.updateAttributeCollection(AttributeCollection current, AttributeCollection updated, boolean addMissing)
          Updates the attribute values in the given AttributeSet current with the values in updated.
static Attribute AttributeOperations.getAttributeWithNestedValue(AttributeCollection coll, java.lang.String attributeName, java.lang.String nestedName, java.lang.Object nestedValue)
          Looks for an Attribute with the given attribute name that contains an AttributeCollection containing an Attribute with the given name and value.
static Attribute AttributeOperations.getFirstAttributeInList(AttributeCollection list, java.lang.String name)
          Returns the first attribute with the given name that was found in the list, or null if there is no such attribute.
static Attribute AttributeOperations.getFirstAttributeInList(AttributeCollection list, java.lang.String name, boolean recursive)
          Returns the first attribute with the given name that was found in the list, or null if there is no such attribute.
static java.lang.Object AttributeOperations.getFirstValueInList(AttributeCollection list, java.lang.String name)
          Returns the value of the first attribute with the given name that was found in the list, or null if there is no such attribute.
static java.lang.Object AttributeOperations.getFirstValueInList(AttributeCollection list, java.lang.String name, boolean recursive)
          Returns the value of the first attribute with the given name that was found in the list, or null if there is no such attribute.
static java.util.List AttributeOperations.getAllAttributesWithName(AttributeCollection attribs, java.lang.String name)
          Returns a list of all attributes with the given name in the given attribute set and in subsets of it.
static java.util.List AttributeOperations.getAllAttributesOfType(AttributeCollection attribs, java.lang.Class type)
          Returns a list of all attributes that are instances of the given class or contain a value that is an instance of the given class in the given attribute set and in subsets of it.
static java.lang.String AttributeOperations.getPathOfInstance(AttributeCollection collection, Attribute attrib)
          Returns the full qualified path of the given attribute in the given collection.
static java.util.Collection AttributeOperations.flattenStructure(AttributeCollection attribs)
          Converts a hierarchical attribute collection structure to a flat list of attributes by storing the hierarchical information as complete path name in the new names of the attributes that are stored in the list.
static java.util.Collection AttributeOperations.flattenStructure(AttributeCollection attribs, boolean includeCollections)
          Converts a hierarchical attribute collection structure to a flat list of attributes by storing the hierarchical information as complete path name in the new names of the attributes that are stored in the list.
static java.util.Collection AttributeOperations.flattenStructure(AttributeCollection attribs, boolean includeCollections, java.lang.String pathSeparator)
          Converts a hierarchical attribute collection structure to a flat list of attributes by storing the hierarchical information as complete path name in the new names of the attributes that are stored in the list.
static AttributeCollection AttributeOperations.getMutableCopy(AttributeCollection coll)
          Creates a mutable copy of an AttributeCollection by creating new mutable attributes containing the original name, value and constraint.
 

Uses of AttributeCollection in com.tensegrity.gui.graphdocument
 

Methods in com.tensegrity.gui.graphdocument with parameters of type AttributeCollection
static void ElementDefinitionUtil.convertLayoutAttributeNames(AttributeCollection coll)
          Converts the names of layout attributes from the old version to the new one.
static void ElementDefinitionUtil.convertVisualGraphObjectLayoutAttributes(AttributeCollection coll)
          Converts layout attributes of VisualGraphObjects that have changed (e.g. after introduction of new attributes to the layout that replace the old ones).
static java.lang.String[] ElementDefinitionUtil.getLayoutControllerContexts(AttributeCollection data)
          Returns the names of the layout controller contexts stored in the given configuration.
 

Constructors in com.tensegrity.gui.graphdocument with parameters of type AttributeCollection
ElementDefinitionWrapper(AttributeCollection layoutConfiguration)
          Constructor
 

Uses of AttributeCollection in com.tensegrity.gui.swing.dialog
 

Methods in com.tensegrity.gui.swing.dialog with parameters of type AttributeCollection
static void PreferenceDialog.buildValues(AttributeCollection coll)
          Used to build some values in the preferences that have been serialized to strings to be stored to XML and could not yet be built back because the resposible classes are not available in the generic package.
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.