Element Member Details

Element Public Fields


Element Public Enumerations


Element Constructors
New
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
Public Sub New(ByVal MappedObj As IPartiallyComparable, ByVal Diam As Int32, ByVal IndexInSpace As Int32, ByVal Parens As Space)
Remarks:
Parameters:
ByVal MappedObj As IPartiallyComparable
ByVal Diam As Int32
ByVal IndexInSpace As Int32
ByVal Parens As Space
New
Instantiates an Element Control, specifying its Diameter, the Parent Space, and the Element's Index in the ElementCollection of that Space
Public Sub New(ByVal Diam As Int32, ByVal IndexInSpace As Int32, ByVal Parens As Space)
Remarks:
Parameters:
ByVal Diam As Int32
ByVal IndexInSpace As Int32
ByVal Parens As Space
New
The Plain-Vanilla Constructor
Public Sub New()
Remarks:
Parameters:


Element Public Properties
CenterGlobal
Gets the Center Point of this Element relative to this Control's Container Category: Layout
Public Property CenterGlobal() As Point
Remarks:
IndexParameters:
Return Value:
Point
CenterLocal
Gets the Center Point of this Element relative to this Control Category: Layout
Public Property CenterLocal() As Point
Remarks:
IndexParameters:
Return Value:
Point
Diameter
The active Region of this Control is circular; this Gets or Sets the diameter in pixels of that Region Category: Appearance
Public Property Diameter() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
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 Category: Behavior
Public Property EqualsOrSuccessors() As ElementCollection
Remarks:
IndexParameters:
Return Value:
ElementCollection
GrabRegion
Gets the Region that is the Grab-Ring of this EGWorld Category: Behavior
Public Property GrabRegion() As Region
Remarks:
IndexParameters:
Return Value:
Region
GrabWidth
Gets the Width in Pixels of the Grab-Ring Category: Appearance
Public Property GrabWidth() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
Index
Gets or Sets Index of this Element in the ParentSpace's Elements ElementCollection Category: Behavior
Public Property Index() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
InnerClip
The GraphicsPath defining the inner edge of the GrabRing annular Region of this Control Category: Appearance
Public Property InnerClip() As GraphicsPath
Remarks:
IndexParameters:
Return Value:
GraphicsPath
IsAccessArrowHead
An Access-Arrow is being drawn, and this World is at its Head Category: Behavior
Public Property IsAccessArrowHead() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
IsAccessArrowTail
An Access-Arrow is being drawn, and this World is at its Tail Category: Behavior
Public Property IsAccessArrowTail() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
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 Category: Behavior
Public Property IsAntisymmetric() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
IsReflexive
True iff the Ordering Relation for the present Instance is Reflexive Category: Behavior
Public Property IsReflexive() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
IsSymmetric
True iff Access for the present Instance is Symmetric, i.e., any World accessing this instance also is accessed by it Category: Behavior
Public Property IsSymmetric() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
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 Category: Behavior
Public Property IsTransitive() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean
MappedIPC
The Mapped Object, but as an IPartiallyComparable Implementer Category: Behavior
Public Property MappedIPC() As IPartiallyComparable
Remarks:
IndexParameters:
Return Value:
IPartiallyComparable
MappedObject
Gets or Sets the (IPartiallyComparable-Implementing) Object, cast as Object, which this Element maps Category: Behavior
Public Property MappedObject() As Object
Remarks:
IndexParameters:
Return Value:
Object
MouseLoc
Gets the Location of the Mouse-Cursor on this Control Category: Mouse
Public Property MouseLoc() As Point
Remarks:
IndexParameters:
Return Value:
Point
Mover
Sets or Gets Reference to the instantiation of MoveControl used by this EGWorld Category: Behavior
Public Property Mover() As MoveControl
Remarks:
IndexParameters:
Return Value:
MoveControl
NamePlaces
Gets or Sets minimum number of places in numeric part of Element Name; defaults to 2 Category: Layout
Public Property NamePlaces() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
NamePrefix
Gets or Sets String used as prefix in Element Names Category: Layout
Public Property NamePrefix() As String
Remarks:
IndexParameters:
Return Value:
String
OuterEdge
The GraphicsPath defining the outermost edge of the overall active Region of this Control Category: Appearance
Public Property OuterEdge() As GraphicsPath
Remarks:
IndexParameters:
Return Value:
GraphicsPath
ParentSpace
Gets or Sets the Parent Control of this Element as Type Order.Space Category: Behavior
Public Property ParentSpace() As Space
Remarks:
IndexParameters:
Return Value:
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 Category: Behavior
Public Property Preceders() As ElementCollection
Remarks:
IndexParameters:
Return Value:
ElementCollection


Element Public Methods
BestContrastTo
Picks White or Black as Text Color depending on Hue, Brightness, and Saturation of Background
Public Shared Function BestContrastTo(ByVal C As Color) As Color
Remarks:
Parameters:
ByVal C As Color
Return Value:
Color
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
Public Shared Function GetRimPointAtAzimuth(ByVal ForRadius As Int32, ByVal AtAzimuthDegrees As Double) As Point
Remarks:
Parameters:
ByVal ForRadius As Int32
ByVal AtAzimuthDegrees As Double
Return Value:
Point
GetRimPointGlobalAtAzimuth
Returns Point in ParentSpace Coordinates on visible edge of this Element at a given Azimuth measured in Degrees Clockwise from X+ axis
Public Function GetRimPointGlobalAtAzimuth(ByVal AzimuthDegrees As Double) As Point
Remarks:
Parameters:
ByVal AzimuthDegrees As Double
Return Value:
Point
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
Public Shared Function GetSuccessors(ByVal OfElt As Element, ByRef DoneWorlds As ElementCollection) As ElementCollection
Remarks:
Parameters:
ByVal OfElt As Element
ByRef DoneWorlds As ElementCollection
Return Value:
ElementCollection
IsLowerBoundOf
Returns True iff this Element is a Lower Bound of all of the elements in a given ElementCollection
Public Function IsLowerBoundOf(ByVal EltSet As ElementCollection) As Boolean
Remarks:
If the Collection is Null or empty, returns True
Parameters:
ByVal EltSet As ElementCollection
Return Value:
Boolean
IsLowerBoundOf
Returns True iff this Element is a Lower Bound of two given elements
Public Function IsLowerBoundOf(ByVal EltX As Element, ByVal EltY As Element) As Boolean
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
PartialCompare
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
Public Function PartialCompare(ByVal ElementX As Element, ByVal ElementY As Element) As Int32
Remarks:
Parameters:
ByVal ElementX As Element
ByVal ElementY As Element
Return Value:
Int32
PartialCompare
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
Public Overridable Function PartialCompare(ByVal ElementObjectX As Object, ByVal ElementObjectY As Object) As Int32
Remarks:
This Method provides the implementation in Element of the Interface IPartialComparer
Parameters:
ByVal ElementObjectX As Object
ByVal ElementObjectY As Object
Return Value:
Int32
PartiallyCompareTo
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
Public Function PartiallyCompareTo(ByVal Elt As Element) As Int32
Remarks:
Parameters:
ByVal Elt As Element
Return Value:
Int32
PartiallyCompareTo
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 Overridable Function PartiallyCompareTo(ByVal ElementObject As Object) As Int32
Remarks:
This Method provides the implementation in Element of the Interface IPartiallyComparable
Parameters:
ByVal ElementObject As Object
Return Value:
Int32


Element Public Operators
>
Partial-Ordering properly-over Operator - EltX > EltY - for Elements EltX and EltY
Public Overloads Shared Operator >(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
>=
Partial-Ordering at-or-over Operator - EltX >= EltY - for Elements EltX and EltY
Public Overloads Shared Operator >=(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
>=
Partial-Ordering at-or-over Operator; returns True iff EltX >= all Elements in a given ElementCollection
Public Overloads Shared Operator >=(ByVal EltX As Element, ByVal EltCol As ElementCollection)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltCol As ElementCollection
Return Value:
Object
<
Partial-Ordering properly-under Operator - EltX < EltY - for Elements EltX and EltY
Public Overloads Shared Operator <(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
<>
Partial-Ordering-NON-Identity Operator - EltX <> EltY - for Elements EltX and EltY
Public Overloads Shared Operator <>(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
<=
Partial-Ordering at-or-under Operator; returns True iff EltX <= all Elements in a given ElementCollection
Public Overloads Shared Operator <=(ByVal EltX As Element, ByVal EltCol As ElementCollection)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltCol As ElementCollection
Return Value:
Object
<=
Partial-Ordering at-or-under Operator - EltX <= EltY - for Elements EltX and EltY
Public Overloads Shared Operator <=(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean
=
Partial-Ordering-Identity Operator - EltX = EltY - for Elements EltX and EltY
Public Overloads Shared Operator =(ByVal EltX As Element, ByVal EltY As Element)
Remarks:
Parameters:
ByVal EltX As Element
ByVal EltY As Element
Return Value:
Boolean


Element Public Events