|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISequence
A sequence is the base interface for trails and services. It is comprised of a sequence of route branches or "twigs".
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
boolean |
canJoinTo(ISequence that)
Returns true if this sequence can join to that sequence |
int |
components()
The number of components making up this sequence |
ISequence |
copy()
Create a copy of this sequence |
IXyz |
endLocation()
The location of the end of the last segment of this sequence, to centre the view when building or modifying the sequence |
void |
extend(int chosenExit,
boolean multipleAdvance)
Extend the sequence onto to the chosen exit, advancing multiple (links) if set, chosenExit index = 1..N |
void |
extendBack(int chosenEntry,
boolean multipleAdvance)
Extend the sequence to include the chosen entry, advancing multiple (links) if set, chosenEntry index = 1..N |
ITwig[] |
extensionBackSequence(int index)
Return a sequence of links to display as an extension option, index = 0..N-1 |
String |
extensionBackSequenceName(int index)
Return the name of the entry numbered "index", where index = 0..N-1 |
int |
extensionBackSequences()
The number of possible entries to the start of the sequence, for extending this sequence backwards |
ITwig[] |
extensionSequence(int index)
Return a sequence of links to display as an extension option, index = 0..N-1 |
String |
extensionSequenceName(int index)
Return the name of the exit numbered "index", where index = 0..N-1 |
int |
extensionSequences()
The number of possible exits from the end of this sequence. |
String |
info()
Return an information description of this sequence, for display at the bottom of the GUI window |
ISequence |
join(String name,
ISequence that)
Returns a new sequence, with the given name, resulting from joining this sequence to that |
void |
prune1()
Remove the first segment from the sequence |
void |
pruneN()
Remove the last segment from the sequence |
void |
rename(String s)
Rename this sequence to the given name |
IXyz |
startLocation()
The location of the beginning first segment of this sequence, to centre the view when building or modifying the sequence |
ITwig[] |
twigs()
An ordered array of routing branches or "twigs" that make up this sequence. |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Method Detail |
|---|
void rename(String s)
ISequence copy()
int components()
IXyz startLocation()
IXyz endLocation()
int extensionSequences()
ITwig[] extensionSequence(int index)
String extensionSequenceName(int index)
int extensionBackSequences()
ITwig[] extensionBackSequence(int index)
String extensionBackSequenceName(int index)
ITwig[] twigs()
void extend(int chosenExit,
boolean multipleAdvance)
void extendBack(int chosenEntry,
boolean multipleAdvance)
void prune1()
void pruneN()
boolean canJoinTo(ISequence that)
ISequence join(String name,
ISequence that)
String info()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||