|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jtec.beads.content.AbstractAttributeHolder
de.jtec.beads.content.Bead
public class Bead
bead is manageable and identifiable content unit. it contains some kind of content. conntent itself is seperatet, to allow to have separate sets of attributes or no content at all
| Field Summary | |
|---|---|
(package private) Content |
content
|
(package private) java.io.File |
name
|
| Fields inherited from class de.jtec.beads.content.AbstractAttributeHolder |
|---|
attributes |
| Constructor Summary | |
|---|---|
Bead()
just a default constructor |
|
Bead(Content content,
java.io.File name)
|
|
Bead(java.io.File name)
|
|
Bead(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
accept visitor |
Content |
getContent()
content element |
java.io.File |
getName()
unique name of bead ( inside canvas ) |
java.io.File |
resolve(java.io.File name)
resolve name relative to this bead |
java.io.File |
resolve(java.lang.String name)
resolve possibly relative name ( absolute start with / ) |
void |
setContent(Content content)
|
void |
setName(java.io.File name)
|
| Methods inherited from class de.jtec.beads.content.AbstractAttributeHolder |
|---|
getAttributes, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Content content
java.io.File name
| Constructor Detail |
|---|
public Bead(java.lang.String name)
public Bead(java.io.File name)
public Bead()
public Bead(Content content,
java.io.File name)
| Method Detail |
|---|
public Content getContent()
public java.io.File getName()
public void setContent(Content content)
public void setName(java.io.File name)
public void accept(Visitor visitor)
Visitee
accept in interface Visitee
public java.io.File resolve(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
public java.io.File resolve(java.io.File name)
throws java.io.IOException
name -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||