|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.flamingo.api.common.AbstractFileViewPanel.Leaf
public static class AbstractFileViewPanel.Leaf
Information on the specific file. Depending on the actual type of the file repository, the property map will have different keys.
Field Summary | |
---|---|
protected java.lang.String |
leafName
Leaf name. |
protected java.util.Map<java.lang.String,java.lang.Object> |
leafProps
Leaf property map. |
protected java.io.InputStream |
leafStream
Stream with the contents of the leaf file. |
Constructor Summary | |
---|---|
AbstractFileViewPanel.Leaf(java.lang.String leafName,
java.io.InputStream leafStream)
Creates a new leaf. |
Method Summary | |
---|---|
java.lang.String |
getLeafName()
Returns the leaf name. |
java.lang.Object |
getLeafProp(java.lang.String propName)
Returns the leaf property with the specified name. |
java.util.Map<java.lang.String,java.lang.Object> |
getLeafProps()
Returns the map of all the properties of this leaf. |
java.io.InputStream |
getLeafStream()
Returns the stream with the contents of the leaf file. |
void |
setLeafProp(java.lang.String propName,
java.lang.Object propValue)
Sets the leaf property with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String leafName
protected java.io.InputStream leafStream
protected java.util.Map<java.lang.String,java.lang.Object> leafProps
Constructor Detail |
---|
public AbstractFileViewPanel.Leaf(java.lang.String leafName, java.io.InputStream leafStream)
leafName
- Leaf name.leafStream
- Stream with the contents of the leaf file.Method Detail |
---|
public java.lang.String getLeafName()
public java.io.InputStream getLeafStream()
public java.lang.Object getLeafProp(java.lang.String propName)
propName
- Property name.
public void setLeafProp(java.lang.String propName, java.lang.Object propValue)
propName
- Property name.propValue
- Property value.public java.util.Map<java.lang.String,java.lang.Object> getLeafProps()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |