|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javatools.util
Interface Clippable

- public interface Clippable
It is an interface to be used in things that can be clipped (i.e. cut, copied, pasted).
- Version:
- 0.1.2
| Method Summary | |
void |
attach(Clippable newSon)
Attaches another object into this one. |
boolean |
canBeAttached(Clippable newSon)
Checks whether the passed object can be attached into this one. |
boolean |
canBeCopied()
Checks whether this object can be copied or not. |
boolean |
canBeCut()
Checks whether this object can be cut or not. |
Clippable |
copy()
Copies this object. |
Clippable |
cut()
Cuts the object. |
Clippable |
duplicate()
Duplicates (clones) this object. |
java.lang.Object |
getPlace()
Returns the place that contains this object. |
java.lang.String |
getType()
Returns the type of the object. |
java.lang.Object |
getValue()
Returns the value of the object. |
void |
paste(Clippable newFather)
Pastes the object into another. |
void |
setPlace(java.lang.Object place)
Sets the place where the object is put. |
void |
unclip()
It means that the status of the object must be reset. |
| Method Detail |
getType
public java.lang.String getType()
- Returns the type of the object.
getValue
public java.lang.Object getValue()
- Returns the value of the object.
getPlace
public java.lang.Object getPlace()
- Returns the place that contains this object.
setPlace
public void setPlace(java.lang.Object place)
- Sets the place where the object is put.
cut
public Clippable cut()
- Cuts the object.
copy
public Clippable copy()
- Copies this object.
unclip
public void unclip()
- It means that the status of the object must be reset.
paste
public void paste(Clippable newFather)
- Pastes the object into another.
attach
public void attach(Clippable newSon)
- Attaches another object into this one.
canBeCut
public boolean canBeCut()
- Checks whether this object can be cut or not.
canBeCopied
public boolean canBeCopied()
- Checks whether this object can be copied or not.
canBeAttached
public boolean canBeAttached(Clippable newSon)
- Checks whether the passed object can be attached into this one.
duplicate
public Clippable duplicate()
- Duplicates (clones) this object.
|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC