Uses of Class
com.tensegrity.generic.constraint.ConstraintViolationException

Packages that use ConstraintViolationException
com.tensegrity.composite.coordinate Provides interfaces and classes for creating and dealing with coordinate systems. 
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.composite.style.persistence Provides classes for making style attributes persistent. 
com.tensegrity.generic.attribute Contains interfaces that define the attribute framework and its associated exceptions. 
com.tensegrity.generic.attribute.customattribute   
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.graph.layout.controller The controller package contains several concrete implementations of abstract class LayoutController which can be used in many common applications.  
com.tensegrity.graph.model Contains the graph model interface.  
com.tensegrity.graph.persistence GraphPersistence package.  
com.tensegrity.graphics Contains basic classes and interfaces of the Tensegrity graphics framework.  
com.tensegrity.graphics.primitive2D Contains classes that define graphical primitives in 2D space.  
com.tensegrity.gui.component The component package contains the basic abstractions for components used within a Graph application, such as GraphApplication, StatusBar, AttributeTable and ObjectTreePanel.  
com.tensegrity.gui.container   
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.graphdocument.persistence   
com.tensegrity.gui.swing.control.attributetable This package contains the AttributeTable implementation. 
com.tensegrity.gui.swing.customattribute This package demonstrates how to implement a CustomAttribute.  
com.tensegrity.skeleton.commands The command package contains all the predefined commands of the skeleton, like Save, Print, Quit, Zoom, etc. 
 

Uses of ConstraintViolationException in com.tensegrity.composite.coordinate
 

Methods in com.tensegrity.composite.coordinate that throw ConstraintViolationException
static Attribute CoordinateSystemUtilities.toAttribute(CoordinateSystem coordSystem, java.lang.String name)
          Method toAttribute converts an instance of CoordinateSystem to an Attribute.
static Attribute CoordinateSystemUtilities.toAttribute(CoordinateSystem coordSystem)
          Returns an Attribute representing the given CoordinateSystem.
 

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

Methods in com.tensegrity.composite.geometry.persistence that throw ConstraintViolationException
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 ConstraintViolationException in com.tensegrity.composite.persistence
 

Methods in com.tensegrity.composite.persistence that throw ConstraintViolationException
static void CompositeConstants.addTransform(Transform2D transform, AttributeList list)
          Adds the Transform2D transform to the given AttributeList.
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.
protected  void CompositeGroupSerializer.addComposites(AttributeList composites)
          Adds all Composites of the internal CompositeGroup to the given AttributeList.
protected  void CompositeGroupSerializer.addBoundingBox(AttributeList list)
          Adds the Boundingbox of the internal group to the given AttributeList.
protected  void CompositeGroupSerializer.addContentBorder(AttributeList list)
          Method addContentBorder adds the content border sizes of the internal group to the parameter list.
protected  void CompositeGroupSerializer.addFoldStateAttributes(AttributeList list)
          Adds all fold-relevant elements of the internal group to the given AttributeList.
protected  Attribute CompositeGroupSerializer.getSizeAttribute(java.lang.String attributeName, Size size)
          Returns an Attribute for a given Size instance.
protected  Attribute CompositeGroupSerializer.getAnchorAttribute(java.lang.String attributeName, Anchor anchor)
           
protected  void CompositeTableSerializer.addFoldStateAttributes(AttributeList list)
          Adds all fold-relevant elements of the internal group to the given AttributeList.
protected  Attribute CompositeTableSerializer.getSizeAttribute(java.lang.String attributeName, Size size)
          Returns an Attribute for a given Size instance.
protected  void CompositeSwimLanePoolSerializer.addComposites(AttributeList composites)
           
protected  void CompositeSerializer.addFlag(AttributeList list, java.lang.String name, boolean value)
          Method addFlag adds a Flag as attribute to the given list.
protected  void CompositeSerializer.addLocation(AttributeList list, Composite baseComposite)
          Method addLocation adds the location of the internal composite to the given list.
protected  void CompositeSerializer.addSize(AttributeList list, java.lang.String attName, Size size)
          Method addLocation adds the size of the internal composite to the given list.
static void FormatIDMap.addFormats(AttributeList list)
          This method adds all previously stored format instances to the given AttributeList by writing out Attributes where the name is obtained from FormatIDMap.keyIterator() and the value created by FormatUtilities.getAttributeSetFromFormat(Object).
 void CompositeLabelSerializer.addCustomAttributes(AttributeList list)
          Overridden method from CompositeSerializer, called by supers method serialize().
 

Uses of ConstraintViolationException in com.tensegrity.composite.style.persistence
 

Methods in com.tensegrity.composite.style.persistence that throw ConstraintViolationException
protected  AttributeSet StyleItemBuilder.convertSet(AttributeSet set)
          Method convertSet creates an AttributeSet from a given set of Formats.
 

Uses of ConstraintViolationException in com.tensegrity.generic.attribute
 

Methods in com.tensegrity.generic.attribute that throw ConstraintViolationException
abstract  Attribute AttributeFactory.newAttribute(java.lang.String name, java.lang.Object value)
          This method returns an Attribute with given name and value.
abstract  Attribute AttributeFactory.newAttribute(java.lang.String name, java.lang.Object value, Constraint constraint)
          This method return an Attribute with given name, value and constraint.
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.
static AttributeList AttributeSetPool.getAttributes()
          Returns all attributes in 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 GenericAttributableOnSet.setAttribute(Attribute attribute)
           
 void GenericAttributableOnSet.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Attribute.setValue(java.lang.Object value)
          Sets the Attribute value.
 void AttributeCollection.add(Attribute attribute)
          Adds the given Attribute to the collection.
 java.util.Iterator AttributeCollection.findAndFlatten(java.lang.String path)
          This method assembles attributes that match the path into a list of flat ones.
 AttributeCollection AttributeCollection.merge(AttributeCollection other)
          This method creates a new AttributeCollection reflecting a merge of the given collection with this collection.
 void Attributable.setAttribute(Attribute attribute)
          Sets the value of the attribute with the same name to the value of the given attribute.
 void Attributable.setAttributeValue(java.lang.String name, java.lang.Object value)
          Sets the value of the attribute with the name to the given value.
 

Uses of ConstraintViolationException in com.tensegrity.generic.attribute.customattribute
 

Methods in com.tensegrity.generic.attribute.customattribute that throw ConstraintViolationException
 void HRefAttribute.setValue(java.lang.Object value)
           
 

Uses of ConstraintViolationException in com.tensegrity.generic.persistence
 

Methods in com.tensegrity.generic.persistence that throw ConstraintViolationException
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 ConstraintViolationException in com.tensegrity.generic.util
 

Methods in com.tensegrity.generic.util that throw ConstraintViolationException
static boolean AttributeOperations.mergeAttributesImmutable(AttributeSet current, AttributeSet updated)
          Updates the attribute values in the given AttributeSet current with the values in updated.
static boolean AttributeOperations.updateAttributes(AttributeSet current, AttributeSet updated, boolean addMissing)
          Updates the attribute values in the given AttributeSet current with the values in updated.
static boolean AttributeOperations.updateAttributes(AttributeSet current, AttributeSet updated, boolean addMissing, boolean updateMutability)
          Updates the attribute values in the given AttributeSet current with the values in updated.
static boolean AttributeOperations.updateAttributes(AttributeSet current, AttributeSet updated, boolean addMissing, boolean updateMutability, boolean updateConstraint, boolean ignoreConstraintViolations)
          Updates the attribute values in the given AttributeSet current with the values in updated.
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 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.
static AttributeSet AttributeOperations.list2set(AttributeList list)
          Returns an AttributeSet that contains copies of all Attributes in the given AttributeList.
 

Uses of ConstraintViolationException in com.tensegrity.graph.layout.controller
 

Methods in com.tensegrity.graph.layout.controller that throw ConstraintViolationException
 void LayoutController.setAttribute(Attribute attribute)
           
 void LayoutController.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 

Uses of ConstraintViolationException in com.tensegrity.graph.model
 

Methods in com.tensegrity.graph.model that throw ConstraintViolationException
 boolean GraphObject.assertCustomAttribute(java.lang.String path, java.lang.Object value)
          Sets the value of a custom attributes and creates it first, if it doesn't exist.
 boolean GraphObject.assertCustomAttribute(Attribute attribute)
          Sets a custom attribute and adds it, if it doesn't exist yet.
 

Uses of ConstraintViolationException in com.tensegrity.graph.persistence
 

Methods in com.tensegrity.graph.persistence that throw ConstraintViolationException
static AttributeList GraphPersistence.getImages(AttributeList list, boolean remove)
          Returns the images attribute list from the attribute list loaded from a graph xml file.
 

Uses of ConstraintViolationException in com.tensegrity.graphics
 

Methods in com.tensegrity.graphics that throw ConstraintViolationException
 void AbstractPrimitive.setAttribute(Attribute attribute)
           
 void AbstractPrimitive.setAttributeValue(java.lang.String name, java.lang.Object value)
           
static AttributeSet FormatUtilities.getAttributeSetFromFormat(java.lang.Object format)
          Method getAttributeSetFromFormat returns an AttributeSet representing the given Format instance splitted up to name-value-pairs.
static AttributeSet FormatUtilities.getPaintSet(PaintFormat paint)
          Method getPaintSet returns an AttributeSet of the given PaintFormat.
static AttributeSet FormatUtilities.getStrokeSet(StrokeFormat stroke)
          Method getStrokeSet returns an AttributeSet representing the given StrokeFormat.
static AttributeSet FormatUtilities.getFontSet(FontFormat font)
          Method getFontSet returns an AttributeSet representing the given FontFormat.
static AttributeSet FormatUtilities.getMarkerSet(MarkerFormat marker)
          Method getMarkerSet returns a set defining a MarkerFormat.
 

Uses of ConstraintViolationException in com.tensegrity.graphics.primitive2D
 

Methods in com.tensegrity.graphics.primitive2D that throw ConstraintViolationException
 void Polygon2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Ellipse2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Polyline2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Rect2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Line2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 void Label2D.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 

Uses of ConstraintViolationException in com.tensegrity.gui.component
 

Methods in com.tensegrity.gui.component that throw ConstraintViolationException
static boolean AttributeEditorUtil.renameCustomAttribute(AttributeSet set, Attribute attribute, java.lang.String value)
          Renames the given custom attribute
 

Uses of ConstraintViolationException in com.tensegrity.gui.container
 

Methods in com.tensegrity.gui.container that throw ConstraintViolationException
 void HiddenSlidesAttributableOnSet.setAttribute(Attribute attribute)
           
 void HiddenSlidesAttributableOnSet.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 

Uses of ConstraintViolationException in com.tensegrity.gui.graphdocument
 

Methods in com.tensegrity.gui.graphdocument that throw ConstraintViolationException
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).
 void ElementDefinitionUtil.RenameAttributable.setAttribute(Attribute attribute)
           
 void ElementDefinitionUtil.RenameAttributable.setAttributeValue(java.lang.String name, java.lang.Object value)
           
 

Constructors in com.tensegrity.gui.graphdocument that throw ConstraintViolationException
GraphDocumentSettingsProvider(Document gDoc, java.util.Map mapPref2Doc, java.lang.String preferenceFileName, java.lang.Class refClass)
          Constructor
 

Uses of ConstraintViolationException in com.tensegrity.gui.graphdocument.persistence
 

Methods in com.tensegrity.gui.graphdocument.persistence that throw ConstraintViolationException
protected  void GraphDocumentWriter.saveStyles(AttributeList list, GraphDocument gDoc)
          Saves the styles to the given AttributeList structure.
protected  void GraphDocumentWriter.saveGeometries(AttributeList list, GraphDocument gDoc)
          Saves the geometries to the given AttributeList structure.
protected  void GraphDocumentWriter.saveRules(AttributeList list, GraphDocument gDoc)
          Saves the rules to the given AttributeList structure.
protected  void GraphDocumentWriter.saveLayouts(AttributeList list, GraphDocument gDoc)
          Saves the layout configuration to the given AttributeList structure.
 

Uses of ConstraintViolationException in com.tensegrity.gui.swing.control.attributetable
 

Methods in com.tensegrity.gui.swing.control.attributetable that throw ConstraintViolationException
protected  boolean MetricAttribute.checkValue(java.lang.Object value)
          Checks whether this value is allowed as an attribute-value.
 void MetricAttribute.setValue(java.lang.Object newValue)
           
 

Constructors in com.tensegrity.gui.swing.control.attributetable that throw ConstraintViolationException
MetricAttribute(Attribute attribute)
          Creates a new MetricAttribute from a Attribute.
MetricAttribute(java.lang.String name, java.lang.Object value, Constraint constraint, CoordinateSystemMetric coordinateSystemMetric)
          Contructs a new mutable attribute from the given key-value pair and the given constraint.
 

Uses of ConstraintViolationException in com.tensegrity.gui.swing.customattribute
 

Methods in com.tensegrity.gui.swing.customattribute that throw ConstraintViolationException
 void ItemListAttribute.setValue(java.lang.Object value)
           
 void FormatAttribute.setValue(java.lang.Object value)
           
 

Uses of ConstraintViolationException in com.tensegrity.skeleton.commands
 

Methods in com.tensegrity.skeleton.commands that throw ConstraintViolationException
protected  void OpenElementsCommand.checkConflicts(ElementDefinitionWrapper edw)
           
protected  void OpenElementsCommand.loadDefinitions(ElementDefinitionWrapper edw, java.io.File file, ElementService.Locations locs)
           
protected  void OpenLayoutsCommand.loadDefinitions(java.io.File file)
           
protected  void OpenLayoutsCommand.checkConflicts(ElementDefinitionWrapper edw)
           
 



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