Package com.tensegrity.composite.style

Styles are used to define the visual appearance of an element.

See:
          Description

Interface Summary
StyleDescriptor StyleDescriptor elements combine various StyleItems.
StyleDescriptorHandler This interface defines the methods necessary to handle the determination of style items that should by applied to the primitives or children of a composite when a style is applied to it.
StyleDescriptorItem A StyleDescriptorItem represents another level of abstraction in the definition of a complete style for a Repository element.
StyleItem A StyleItem consists of a name and type description followed by a list of attributes defining the border, fill and/or font.
 

Class Summary
DefaultStyleDescriptor Default implementation of interface StyleDescriptor.
DefaultStyleDescriptorItem TODO: comment
DefaultStyleItem Default implementation of interface StyleItem.
StyleConstants This class holds just one constant that is used to retrieve StyleItem info-values.
StyleDescriptorHandlerRegistry TODO: comment
StyleItemInfo A StyleItemInfo holds all Formats that might get applied to a StyleItem.
StyleItemPool This class is a pool for StyleItem instances.
StylePool This class is a pool for StyleDescriptor instances.
StyleService This class holds static methods that will be helpful when dealing with StyleItems.
StyleUtilities Contains static utility functions useful when working with styles.
 

Exception Summary
StyleItemApplyException The Exception StyleItemApplyException is thrown whenever an error occurs while a style was applied.
StyleNotApplicableException This exception is thrown when a style is not applicable.
 

Package com.tensegrity.composite.style Description

Styles are used to define the visual appearance of an element. Properties such as a stroke, paint, font and marker can be defined in an XML file. In order to do so, styles make use of so-called Format objects whose classes deal the aforementioned properties. A StyleItem, therefore, contains zero or more stroke, paint, font and/or marker formats within its XML-definition, depending its type and configuration. Please do not feel confused by the redundant style attribute found inside most of these Format definitions. A Style can be a collection of Format items described in XML, a runtime object and even an attribute that is part of a Format definition.



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