|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Rule | |
| com.tensegrity.graph.rule | The rule package contains the code for rules that are used throughout the graph packages. |
| com.tensegrity.graph.rule.event | |
| com.tensegrity.graph.rule.persistence | This package contains the classes necessary to implement xml and attribute-based persistence for rules. |
| 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. |
| com.tensegrity.gui.swing.dialog.ruleeditor | |
| com.tensegrity.gui.swt.dialog | |
| com.tensegrity.gui.swt.dialog.ruleeditor | |
| Uses of Rule in com.tensegrity.graph.rule |
| Subinterfaces of Rule in com.tensegrity.graph.rule | |
interface |
GraphObjectRule
Interface GraphObjectRule specifies the common attributes for
the rules defined in interfaces NodeRule and EdgeRule, which
are associated with objects of classes
VisualNode and
VisualEdge respectively.
|
| Classes in com.tensegrity.graph.rule that implement Rule | |
class |
AbstractGraphObjectRule
Abstract base class that implements the functionality common to all rules |
(package private) class |
com.tensegrity.graph.rule.AbstractRule
Abstract base class that implements the functionality common to all rules. |
class |
EdgeRule
Class EdgeRule implements the rule template for
VisualEdge objects. |
class |
GraphRule
Class GraphRule implements the rule template for
VisualGraph objects. |
class |
NodeRule
Class NodeRule implements the rule template for
VisualNode objects. |
| Methods in com.tensegrity.graph.rule that return Rule | |
Rule |
GraphRule.deepCopy()
Returns a deepCopy of this rule. |
Rule |
Rule.deepCopy()
Returns a deep copy of the rule. |
Rule |
RuleRegistry.put(Rule rule)
Registers a new rule in the registry with its name.. |
Rule |
RuleRegistry.get(java.lang.String name)
Looks up a rule in the map and returns it, null if none is found with the given name. |
Rule |
RuleRegistry.remove(Rule rule)
Removes a rule from the RuleRegistry. |
Rule |
RuleRegistry.remove(java.lang.String name)
Removes a rule by name from the RuleRegistry. |
Rule |
NodeRule.deepCopy()
Returns a deepCopy of this rule. |
Rule |
EdgeRule.deepCopy()
Returns a deepCopy of this rule. |
| Methods in com.tensegrity.graph.rule with parameters of type Rule | |
Rule |
RuleRegistry.put(Rule rule)
Registers a new rule in the registry with its name.. |
Rule |
RuleRegistry.remove(Rule rule)
Removes a rule from the RuleRegistry. |
boolean |
RuleRegistry.contains(Rule rule)
Checks whether a rule is already registered in the rule registry. |
void |
RuleFeedback.ruleRejected(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
This callback is invoked when a Rule is rejected. |
void |
RuleFeedback.rulePassed(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
This callback is invoked when a Rule was accepted. |
| Uses of Rule in com.tensegrity.graph.rule.event |
| Methods in com.tensegrity.graph.rule.event with parameters of type Rule | |
void |
RuleRegistryListener.ruleAdded(Rule rule)
Called whenever a rule is added to a rule registry |
void |
RuleRegistryListener.ruleRemoved(Rule rule)
Called whenever a rule is removed from a rule registry |
void |
RuleRegistryListener.ruleChanged(Rule oldrule,
Rule rule)
Called whenever a rule has changed |
| Uses of Rule in com.tensegrity.graph.rule.persistence |
| Constructors in com.tensegrity.graph.rule.persistence with parameters of type Rule | |
RuleSerializer(Rule rule)
Constructs a new RuleSerializer instance for the given
Rule. |
|
| Uses of Rule in com.tensegrity.gui.graphdocument |
| Methods in com.tensegrity.gui.graphdocument that return Rule | |
static Rule |
ElementDefinitionUtil.duplicateRule(Rule rule,
java.lang.String newName)
Creates a new rule that is identical to the old one but has the given new name. |
| Methods in com.tensegrity.gui.graphdocument with parameters of type Rule | |
static Rule |
ElementDefinitionUtil.duplicateRule(Rule rule,
java.lang.String newName)
Creates a new rule that is identical to the old one but has the given new name. |
| Uses of Rule in com.tensegrity.gui.swing.dialog |
| Methods in com.tensegrity.gui.swing.dialog that return Rule | |
Rule |
ElementConflictDialog.getRule(int index)
Returns the rule with the given index |
| Methods in com.tensegrity.gui.swing.dialog with parameters of type Rule | |
int |
ElementConflictDialog.getIndex(Rule rule)
Returns the index of the given rule |
| Constructors in com.tensegrity.gui.swing.dialog with parameters of type Rule | |
ElementConflictDialog(UIManager uiManager,
java.awt.Frame frame,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Constructor |
|
ElementConflictDialog(UIManager uiManager,
java.awt.Frame frame,
java.lang.String keyTitle,
java.lang.String keyDescription,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Constructor |
|
ElementConflictDialog(UIManager uiManager,
java.awt.Dialog owner,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Constructor |
|
ElementConflictDialog(UIManager uiManager,
java.awt.Dialog owner,
java.lang.String keyTitle,
java.lang.String keyDescription,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Constructor |
|
| Uses of Rule in com.tensegrity.gui.swing.dialog.ruleeditor |
| Methods in com.tensegrity.gui.swing.dialog.ruleeditor that return Rule | |
Rule |
GeneralRulePanel.getRule()
|
| Methods in com.tensegrity.gui.swing.dialog.ruleeditor with parameters of type Rule | |
void |
GeneralRulePanel.updateFromRule(Rule rule)
|
boolean |
GeneralRulePanel.storeToRule(Rule rule)
|
| Uses of Rule in com.tensegrity.gui.swt.dialog |
| Methods in com.tensegrity.gui.swt.dialog that return Rule | |
Rule |
SWTElementConflictDialog.getRule(int index)
Returns the rule with the given index |
| Methods in com.tensegrity.gui.swt.dialog with parameters of type Rule | |
int |
SWTElementConflictDialog.getIndex(Rule rule)
Returns the index of the given rule |
| Constructors in com.tensegrity.gui.swt.dialog with parameters of type Rule | |
SWTElementConflictDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display,
int style,
java.lang.String keyTitle,
java.lang.String keyDescription,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Creates and initializes the dialog used in order to resolve rules and layout conflicts. |
|
SWTElementConflictDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display,
int style,
boolean showRules,
Rule[] conflictRules,
RuleRegistry rrDoc,
boolean showLayout,
java.lang.String[] conflictLayouts,
LayoutController lcSource,
LayoutController lcTarget)
Creates and initializes the dialog used in order to resolve rules and layout conflicts. |
|
| Uses of Rule in com.tensegrity.gui.swt.dialog.ruleeditor |
| Methods in com.tensegrity.gui.swt.dialog.ruleeditor with parameters of type Rule | |
void |
GraphRuleEditor.set(Rule rule)
|
void |
EdgeRuleEditor.set(Rule rule)
|
void |
RuleEditor.set(Rule rule)
Uses the given rule. |
void |
NodeRuleEditor.set(Rule rule)
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||