Uses of Interface
com.tensegrity.generic.constraint.Constraint

Packages that use Constraint
com.tensegrity.composite The Tensgrity Graph Framework supports complex visual representations of nodes and edges.  
com.tensegrity.generic.attribute Contains interfaces that define the attribute framework and its associated exceptions. 
com.tensegrity.generic.attribute.customattribute   
com.tensegrity.generic.constraint Includes the default constraints, associated exceptions and the constraint parser.  
com.tensegrity.generic.persistence Holds classes and interfaces useful to make instances of objects of the Tensegrity-API persistent.  
com.tensegrity.graph.layout Contains the layout algorithms and their dependent utility classes.  
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.view Contains the graph view interface.  
com.tensegrity.graphics Contains basic classes and interfaces of the Tensegrity graphics framework.  
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.swing.control This package contains specific controls used within dialogs, such as the IntegerTextField, ProgressBar and SpinButton.  
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.gui.swt.control.attributetree.editors   
 

Uses of Constraint in com.tensegrity.composite
 

Methods in com.tensegrity.composite that return Constraint
static Constraint CompositeAttributeConstraintRegistry.get(java.lang.String attributename)
          Returns a Constraint which is identitied through the key given by attributename.
static Constraint CompositeAttributes.getLineTypeConstraint()
          Returns a Constraint that can be used with a line type Attribute.
static Constraint CompositeAttributes.getSizeAdjustmentConstraint()
          Returns a Constraint that can be used with a size adjustment Attribute.
static Constraint CompositeAttributes.getCompositeGroupFoldingAnchorConstraint()
           
static Constraint CompositeAttributes.getCompositeGroupFoldStateButtonAnchorConstraint()
           
static Constraint CompositeAttributes.getCompositeLineIconPositioningConstraint()
          Returns a Constraint that can be used with the compositeline-icon-positioning Attribute.
static Constraint CompositeAttributes.getCompositeLineSignPlacementConstraint()
           
static Constraint CompositeAttributes.getCompositeLineSignAnchorConstraint()
           
 

Methods in com.tensegrity.composite with parameters of type Constraint
static void CompositeAttributeConstraintRegistry.register(java.lang.String attributename, Constraint constraint)
          Registers the Constraint given by constraint at the registry.
 void BaseComposite.registerAttributeConstraint(java.lang.String attributename, Constraint constraint)
           Registers the Constraint given by constraint at the BaseComposite's attribute constraint registry.
 

Uses of Constraint in com.tensegrity.generic.attribute
 

Methods in com.tensegrity.generic.attribute with parameters of type Constraint
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.
 

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

Methods in com.tensegrity.generic.attribute.customattribute that return Constraint
 Constraint HRefAttribute.getConstraint()
           
 

Methods in com.tensegrity.generic.attribute.customattribute with parameters of type Constraint
 void HRefAttribute.setConstraint(Constraint constraint)
           
 

Uses of Constraint in com.tensegrity.generic.constraint
 

Subinterfaces of Constraint in com.tensegrity.generic.constraint
 interface BinaryConstraint
          This interface marks constraint objects that consist of two subconstraints.
 interface UnaryConstraint
          This interface marks constraint objects that consist of exactly one subconstraint.
 

Classes in com.tensegrity.generic.constraint that implement Constraint
(package private)  class com.tensegrity.generic.constraint.AbstractConstraint
          This abstract base class for constraints takes care of pooling by means of an intern() method.
 class AndConstraint
           Combines at least two child constraints with a logical AND.
 class EnumConstraint
           Used to check whether the value that is subject to validation is equal to one of the entries of the list of values on the right-hand-side of the operator.
 class LikeConstraint
           Used to check whether the value matches the given pattern.
 class MetricExpressionConstraint
          The MetricExpressionConstraint class tests a given object to be an instance of a MetricExpression and afterwards against a specified comparison type.
 class NegateConstraint
           This Constraint negates the value returned by the specified child Constraint.
 class NumberConstraint
           This constraint evaluates a given object's value against a specified number and comparison type.
 class OpenEnumConstraint
           * The class OpenEnumConstraint provides the same functionality and comes with the same behaviour as the EnumConstraint class.
 class OrConstraint
           Combines two child constraints with a logical OR.
 class TypeConstraint
           This Constraint implementation is used to check whether the value that is subject to validation is of a certain type.
 

Methods in com.tensegrity.generic.constraint that return Constraint
 Constraint Constraint.intern()
          This method pools the constraint analogous to the String.intern() method.
 Constraint ConstraintParser.parse(java.lang.String input)
          Parses a constraint expression that is given as a string and returns a constraint representing it if the string represents a valid constraint.
 Constraint Restrictable.getConstraint()
          Returns the root of the constraint tree.
 Constraint ConstraintViolationException.getConstraint()
          Returns the constraint that has risen the exception.
static Constraint ConstraintPool.get(java.lang.String constraintDescription)
          This method is called to get an instance of a pooled constraint
 

Methods in com.tensegrity.generic.constraint with parameters of type Constraint
 void Restrictable.setConstraint(Constraint constraint)
          Sets the root of the constraint tree.
static void ConstraintPool.pool(Constraint constraint)
          This method is called to pool a constraint.
 

Constructors in com.tensegrity.generic.constraint with parameters of type Constraint
ConstraintViolationException(java.lang.String message, Constraint constraint)
          Constructor specifying a description.
 

Uses of Constraint in com.tensegrity.generic.persistence
 

Methods in com.tensegrity.generic.persistence that return Constraint
protected  Constraint XMLReader.getConstraint(org.w3c.dom.Element elem)
          Deprecated. Reads the constraints under the current xml element.
 

Methods in com.tensegrity.generic.persistence with parameters of type Constraint
protected  void XMLWriter.storeConstraint(Constraint constraint, org.w3c.dom.Element element, org.w3c.dom.Document doc)
          Deprecated. Stores the given constraint as a child of element element in the document.
 

Uses of Constraint in com.tensegrity.graph.layout
 

Fields in com.tensegrity.graph.layout declared as Constraint
static Constraint LayoutUtil.positiveMetricExpressionValue
          A metric expression for positive values
 

Methods in com.tensegrity.graph.layout that return Constraint
static Constraint LayoutUtil.parseConstraint(ConstraintParser cp, java.lang.String constraint)
           
 

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

Methods in com.tensegrity.graph.layout.controller that return Constraint
 Constraint LayoutController.getNodeLayoutContextConstraint()
          Returns an EnumConstraint that contains all valid node layout contexts
 Constraint LayoutController.getEdgeLayoutContextConstraint()
          Returns an EnumConstraint that contains all valid edge layout contexts
 

Uses of Constraint in com.tensegrity.graph.view
 

Methods in com.tensegrity.graph.view that return Constraint
static Constraint InteractionSettings.getHighlightModeConstraint()
          Returns the constraint for the possible values for the highlight mode
 

Uses of Constraint in com.tensegrity.graphics
 

Classes in com.tensegrity.graphics that implement Constraint
 class StrokePatternConstraint
          StrokePatternConstraint
 

Methods in com.tensegrity.graphics that return Constraint
static Constraint PrimitiveAttributes.getStrokeStyleConstraint()
          Returns a Constraint that can be used with a stroke style Attribute.
static Constraint PrimitiveAttributes.getStrokeWeightConstraint()
          Returns a Constraint that can be used with a stroke weight Attribute.
static Constraint PrimitiveAttributes.getStrokePatternConstraint()
          Returns a Constraint that can be used with a stroke weight Attribute.
static Constraint PrimitiveAttributes.getPaintStyleConstraint()
          Returns a Constraint that can be used with a paint style Attribute.
static Constraint PrimitiveAttributes.getTextureConstraint()
          Returns a Constraint that can be used with a paint style Attribute.
static Constraint PrimitiveAttributes.getGradientTypeConstraint()
          Returns a Constraint that can be used with a gradient type Attribute.
static Constraint PrimitiveAttributes.getPatternTypeConstraint()
          Returns a Constraint that can be used with a pattern type Attribute.
static Constraint PrimitiveAttributes.getTransparencyConstraint()
          Returns a Constraint that can be used with a transparency Attribute.
static Constraint PrimitiveAttributes.getFontFamilyConstraint()
          Returns a Constraint that can be used with a font family Attribute.
static Constraint PrimitiveAttributes.getFontStyleConstraint()
          Returns a Constraint that can be used with a font style Attribute.
static Constraint PrimitiveAttributes.getMarkerStyleConstraint()
          Returns the Constraint instance that should be use for the marker style attribute.
static Constraint PrimitiveAttributes.getRectangleArcConstraint()
          Returns a Constraint that can be used with a arc-width and arc-height Attribute of a Rect2D.
static Constraint PrimitiveAttributes.getHAlignmentConstraint()
          Returns the Constraint instance that should be use for the horizontal alignment attribute.
static Constraint PrimitiveAttributes.getVAlignmentConstraint()
          Returns the Constraint instance that should be use for the vertical alignment attribute.
static Constraint PrimitiveAttributes.getSizeAdjustmentConstraint()
          Returns the Constraint instance that should be use for the size adjustment attribute.
static Constraint PrimitiveAttributes.getFontUnitConstraint()
          Returns the Constraint instance that should be use for the font unit attribute.
 Constraint StrokePatternConstraint.intern()
           
 

Uses of Constraint in com.tensegrity.gui.component
 

Methods in com.tensegrity.gui.component that return Constraint
 Constraint AttributeEditorProperties.Enum.getConstraint()
          Returns the Constraint of this enum.
 

Methods in com.tensegrity.gui.component with parameters of type Constraint
 void AttributeEditorProperties.addNamedConstraint(Constraint constraint, java.lang.String name)
          This method adds the given constraint and updates the property file.
 

Constructors in com.tensegrity.gui.component with parameters of type Constraint
AttributeEditorProperties.Enum(Constraint constraint, java.lang.String name)
          Creates a new Enum instance.
 

Uses of Constraint in com.tensegrity.gui.swing.control
 

Methods in com.tensegrity.gui.swing.control with parameters of type Constraint
 void AnchorComboBox.setConstraint(Constraint constraint)
          Sets the constraint to use to determine the enabled state of the items
 

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

Methods in com.tensegrity.gui.swing.control.attributetable that return Constraint
 Constraint MetricAttribute.getConstraint()
          Returns this attributes Constraint instance.
 

Methods in com.tensegrity.gui.swing.control.attributetable with parameters of type Constraint
 void MetricAttribute.setConstraint(Constraint constraint)
          Sets this attributes Constraint instance.
 

Constructors in com.tensegrity.gui.swing.control.attributetable with parameters of type Constraint
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 Constraint in com.tensegrity.gui.swing.customattribute
 

Methods in com.tensegrity.gui.swing.customattribute that return Constraint
 Constraint ItemListAttribute.getConstraint()
           
 Constraint FormatAttribute.getConstraint()
           
 Constraint DirectoryLocationAttribute.getConstraint()
          Does nothing and returns null.
 

Methods in com.tensegrity.gui.swing.customattribute with parameters of type Constraint
 void ItemListAttribute.setConstraint(Constraint constraint)
           
 void FormatAttribute.setConstraint(Constraint constraint)
           
 void DirectoryLocationAttribute.setConstraint(Constraint constraint)
          Ignored.
 

Uses of Constraint in com.tensegrity.gui.swt.control.attributetree.editors
 

Methods in com.tensegrity.gui.swt.control.attributetree.editors with parameters of type Constraint
 void AnchorItemEditor.setConstraint(Constraint constraint)
          Sets the constraint to use to determine the enabled state of the items
 



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