Element Members

Element Overview



Constructors

New(IPartiallyComparable, Int32, Int32, Space) Instantiates an Element Control for a given IPartiallyComparable Object, specifying, further, the Diameter of the Control, its Index in the ElementCollection of the Parent Space, and a reference to that Space itself
New(Int32, Int32, Space) Instantiates an Element Control, specifying its Diameter, the Parent Space, and the Element's Index in the ElementCollection of that Space
New() The Plain-Vanilla Constructor

Public Properties

CenterGlobal Gets the Center Point of this Element relative to this Control's Container
CenterLocal Gets the Center Point of this Element relative to this Control
Diameter The active Region of this Control is circular; this Gets or Sets the diameter in pixels of that Region
EqualsOrSuccessors Gets or Sets Reference to the ElementCollection of the Set of Elements {x|Me <= x}; Elements to which this Element bears the Ordering Relation
GrabRegion Gets the Region that is the Grab-Ring of this EGWorld
GrabWidth Gets the Width in Pixels of the Grab-Ring
Index Gets or Sets Index of this Element in the ParentSpace's Elements ElementCollection
InnerClip The GraphicsPath defining the inner edge of the GrabRing annular Region of this Control
IsAccessArrowHead An Access-Arrow is being drawn, and this World is at its Head
IsAccessArrowTail An Access-Arrow is being drawn, and this World is at its Tail
IsAntisymmetric True iff Access for the present Instance is Antisymmetric, i.e., if world W is accessed by this instance and also accesses it, then this instance Is W
IsReflexive True iff the Ordering Relation for the present Instance is Reflexive
IsSymmetric True iff Access for the present Instance is Symmetric, i.e., any World accessing this instance also is accessed by it
IsTransitive True iff the Ordering Relation for the present Instance is Transitive, i.e., any World accessing this instance also has access to all worlds which this instance accesses
MappedIPC The Mapped Object, but as an IPartiallyComparable Implementer
MappedObject Gets or Sets the (IPartiallyComparable-Implementing) Object, cast as Object, which this Element maps
MouseLoc Gets the Location of the Mouse-Cursor on this Control
Mover Sets or Gets Reference to the instantiation of MoveControl used by this EGWorld
NamePlaces Gets or Sets minimum number of places in numeric part of Element Name; defaults to 2
NamePrefix Gets or Sets String used as prefix in Element Names
OuterEdge The GraphicsPath defining the outermost edge of the overall active Region of this Control
ParentSpace Gets or Sets the Parent Control of this Element as Type Order.Space
Preceders Gets or Sets Reference to the ElementCollection of the Set of Elements {x|x < Me}; Elements bearing the Ordering Relation to this Element

Public Methods

BestContrastTo Picks White or Black as Text Color depending on Hue, Brightness, and Saturation of Background
GetRimPointAtAzimuth Returns Point on a circle of given Radius at a given Azimuth measured in Degrees Clockwise from X+ axis, with Origin at circle center
GetRimPointGlobalAtAzimuth Returns Point in ParentSpace Coordinates on visible edge of this Element at a given Azimuth measured in Degrees Clockwise from X+ axis
GetSuccessors Recursively checks Ordering to expand Successor Lists to account for universal Transitivity of Access - Note: The DoneWorlds Collection is used to pull Worlds out of consideration at their first use in the calculation; this avoids the endless loops which a combination of Transitivity with Reflexivity or Symmetry could cause
IsLowerBoundOf (ElementCollection) Returns True iff this Element is a Lower Bound of all of the elements in a given ElementCollection
IsLowerBoundOf (Element, Element) Returns True iff this Element is a Lower Bound of two given elements
PartialCompare (Element, Element) Compares two Elements and returns a value indicating whether one is less than, equal to or greater than, or incomparable with the other; see IPartiallyComparab;e.CompareTo for Return Values
PartialCompare (Object, Object) Compares two objects (Elements) and returns a value indicating whether one is less than, equal to or greater than, or incomparable with the other; see IPartiallyComparab;e.CompareTo for Return Values
PartiallyCompareTo (Element) Partially Compares the current Element Instance with another Element; Return: < -1 means This instance is less than obj; = -1 Means This instance is NOT COMPARABLE TO obj; = 0 means This instance is equal to obj; > 0 means This instance is greater than obj
PartiallyCompareTo (Object) Partially Compares the current instance - which must be an Element - with another object of the same type; Return: < -1 means This instance is less than obj; = -1 Means This instance is NOT COMPARABLE TO obj; = 0 means This instance is equal to obj; > 0 means This instance is greater than obj

Public Operators

> Partial-Ordering properly-over Operator - EltX > EltY - for Elements EltX and EltY
>= (Element, Element) Partial-Ordering at-or-over Operator - EltX >= EltY - for Elements EltX and EltY
>= (Element, ElementCollection) Partial-Ordering at-or-over Operator; returns True iff EltX >= all Elements in a given ElementCollection
< Partial-Ordering properly-under Operator - EltX < EltY - for Elements EltX and EltY
<> Partial-Ordering-NON-Identity Operator - EltX <> EltY - for Elements EltX and EltY
<= (Element, ElementCollection) Partial-Ordering at-or-under Operator; returns True iff EltX <= all Elements in a given ElementCollection
<= (Element, Element) Partial-Ordering at-or-under Operator - EltX <= EltY - for Elements EltX and EltY
= Partial-Ordering-Identity Operator - EltX = EltY - for Elements EltX and EltY