pl.edu.agh.cast.schema.model.visual
Interface IVisualSchemaConnection
- All Superinterfaces:
- Identifiable, IDisposable, IElement, IPropertyChangeProvider, IPropertyContainer, IReplicable, IValidatable, IVisualElement<ISchemaConnection>, IVisualSchemaElement<ISchemaConnection>, Observer, Serializable
- All Known Implementing Classes:
- VisualSchemaConnection
public interface IVisualSchemaConnection
- extends IVisualSchemaElement<ISchemaConnection>
The visual schema connection is part of schema visual model. It wraps the schema connection of schema presentation
model.
- Author:
- AGH CAST Team
TYPE
static final Type TYPE
- The type of this interface.
BENDPOINTS_EVENT
static final String BENDPOINTS_EVENT
- Bend points changed event.
- See Also:
- Constant Field Values
isDirected
boolean isDirected()
- Indicates if the connection is directed, i.e. it just binds a pair of nodes or the order of nodes is significant.
The general semantics of the connection says that there should be only one connection (in given direction) of
given type between two nodes. Undirected connection may be perceived as two connections pointing in both
directions.
- Returns:
- True if the order of nodes is significant.
setBendpoints
@PropertySetter(name="BEND_POINTS")
void setBendpoints(List<SchemaConnectionBendpoint> bendpoints)
- Sets list of bend points.
- Parameters:
bendpoints
- list of bend points
getBendpoints
@PropertyGetter(name="BEND_POINTS",
type=REFERENCE_LIST,
matchable=false)
List<SchemaConnectionBendpoint> getBendpoints()
- Returns list of bend points.
- Returns:
- list of bend points
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.