LinkType
:
object
Link type
Method
public
LinkType
.
Constructor
(
lefttype
,
righttype
,
relation
=
null
,
opposite
=
null
,
metatype
=
null
)
public
LinkType
.
Add
(
right
,
Fact
meta
=
null
,
bool
reverse
=
null
)
Add a link target
public
virtual
int
object
.
Compare
(
value
)
Compares this object with another and returns (-1, 0, or 1)
public
void
LinkType
.
Connect
(
Fact
left
,
right
,
Fact
meta
=
null
)
Link two objects with this link type
public
LinkType
.
FindFirstMetaFact
(
Fact
f1
,
Fact
f2
,
bool
reverse
=
null
)
Returns the first meta fact associated with the link between f1 and f2
public
[]
LinkType
.
FindMetaFacts
(
Fact
f1
,
Fact
f2
,
bool
reverse
=
null
)
Returns the meta facts associated with the link between f1 and f2
public
virtual
Icon
object
.
GetIcon
Return a icon for this object
public
virtual
object
.
GetLayoutBlock
Return a layout inside a block
public
virtual
object
.
GetLayoutSpan
Return a layout inside a span
public
virtual
object
.
GetLayoutTip
Return a layout for the hint popup
public
virtual
object
.
GetSourceReference
Return a source reference for this object
public
virtual
void
object
.
GetTexSource
(
source
)
LaTeX source code for this object
public
readonly
string
LinkType
.
Left
Left component of the link
public
readonly
string
LinkType
.
Meta
Meta component of the link
public
readonly
string
LinkType
.
Opposite
Opposite relationship (if relation)
public
readonly
string
LinkType
.
Relation
Link relationship
public
readonly
string
LinkType
.
Right
Right component of the link