|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the binary list interface in an Asaph model. It is used in various places to represent an ordered list of binary data elements, each represented by a BinaryData.
| Method Summary | |
void |
clear(UndoableEditListener undoListener)
Clear the string list |
int |
getBinaryDataCount()
Get the number of binary data elements in the list |
BinaryData |
getNextBinaryData(BinaryData reference)
Get the next data element following reference. |
BinaryData |
getNthBinaryData(int n)
Get the nth binary data element |
BinaryData |
getPreviousBinaryData(BinaryData reference)
Get the previous data element preceding reference. |
BinaryData |
insertBinaryDataAfter(BinaryData after,
String type,
byte[] value,
UndoableEditListener undoListener)
Add a data element to the list at the given position |
BinaryData |
insertBinaryDataBefore(BinaryData before,
String type,
byte[] value,
UndoableEditListener undoListener)
Add a data element to the list at the given position |
void |
removeBinaryData(BinaryData data,
UndoableEditListener undoListener)
Remove a BinaryData from the list. |
| Methods inherited from interface com.virtuosotechnologies.asaph.model.SongMember |
getSong, isDefunct |
| Method Detail |
public int getBinaryDataCount()
public BinaryData getNthBinaryData(int n)
n - index
public BinaryData getNextBinaryData(BinaryData reference)
reference - reference BinaryData
IllegalArgumentException - reference is not a memberpublic BinaryData getPreviousBinaryData(BinaryData reference)
reference - reference BinaryData
IllegalArgumentException - reference is not a member
public BinaryData insertBinaryDataBefore(BinaryData before,
String type,
byte[] value,
UndoableEditListener undoListener)
before - insert before this data element, or at the end if nulltype - binary data typevalue - binary data value. May be null.undoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
IllegalArgumentException - before is not a member
NullPointerException - type was null
public BinaryData insertBinaryDataAfter(BinaryData after,
String type,
byte[] value,
UndoableEditListener undoListener)
after - insert after this data element, or at the beginning if nulltype - binary data typevalue - binary data value. May be null.undoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
IllegalArgumentException - after is not a member
NullPointerException - type was null
public void removeBinaryData(BinaryData data,
UndoableEditListener undoListener)
data - data element to removeundoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
IllegalArgumentException - str is not a member
NullPointerException - str was nullpublic void clear(UndoableEditListener undoListener)
undoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||