|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IClippable
If an associate can be copied or cut to the clipboard it will return a non-null IClippable interface when the copy() or cut() method in IAssociate is called. Normally, the associate implements IClippable itself, and thus returns itself as the IClippable interface. The table name that is returned must correspond to a TableAdapter object on the ClipBoard. The TableAdapter must have an ICreator interface that makes a new object of the right type on demand. This new object must implement the IPastable interface so that once it is created, and all the fields have been set, it can be finished() with the relative location data. To make an Associate object Clippable:
IPastable,
ICreator| Field Summary | |
|---|---|
static ArrayList<IClippable> |
scratch
|
static IClippable[] |
ZERO
|
| Method Summary | |
|---|---|
IClippable[] |
children()
Return an array of network "child" objects that are deleted if this object is deleted. |
Object |
getAlt(Object key,
Object data)
substitute a new data value for the one retrieved from the copied object. |
IAssociate[] |
references()
An array of other associates that this clippable requires to be selected - for example, clipping a link requires that both end nodes are also clipped. |
String |
tableName()
The table from which to get the field definitions |
| Methods inherited from interface com.azalient.api.ui.clipboard.IDeletable |
|---|
delete, deleted, name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Field Detail |
|---|
static final IClippable[] ZERO
static final ArrayList<IClippable> scratch
| Method Detail |
|---|
String tableName()
IAssociate[] references()
Object getAlt(Object key,
Object data)
IClippable[] children()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||