Class AbstractFileViewPanel.Leaf
java.lang.Object
org.pushingpixels.radiance.component.api.common.AbstractFileViewPanel.Leaf
- Enclosing class:
AbstractFileViewPanel<T>
Information on the specific file. Depending on the actual type of the file repository, the
property map will have different keys.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Leaf name.Leaf property map.protected InputStream
Stream with the contents of the leaf file. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the leaf name.getLeafProp
(String propName) Returns the leaf property with the specified name.Returns the stream with the contents of the leaf file.
-
Field Details
-
leafName
Leaf name. -
leafStream
Stream with the contents of the leaf file. -
leafProps
Leaf property map.
-
-
Constructor Details
-
Leaf
Creates a new leaf.- Parameters:
leafName
- Leaf name.leafStream
- Stream with the contents of the leaf file.
-
-
Method Details
-
getLeafName
Returns the leaf name.- Returns:
- Leaf name.
-
getLeafStream
Returns the stream with the contents of the leaf file.- Returns:
- Stream with the contents of the leaf file.
-
getLeafProp
Returns the leaf property with the specified name.- Parameters:
propName
- Property name.- Returns:
- Leaf property with the specified name.
-