|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Foldable
The Foldable
interface represents the elements of report that can be folded (Sections, Table Block Axis and Breaks). ReportElement,
BlockAxis and BreakElement can be casted to 'Foldable'.
FoldInfo
Method Summary | |
---|---|
java.util.Vector |
getFoldTree()
Returns the FoldInfo vector that contains the hierarcy of the fold details for the instances of the element. |
boolean |
isFoldAll()
Checks if all instances of the element are folded. |
boolean |
isFolded(java.util.ArrayList foldinfo)
Checks if the fold condition exists in the fold info tree of the element. |
boolean |
removeFold(java.util.ArrayList foldinfo)
Returns true if the fold condition is removed from the foldinfo tree of the element. |
void |
setFoldAll(boolean allfold)
Sets foldAll flag for the element. |
boolean |
setFolded(java.util.ArrayList foldinfo)
Returns true , if the fold condition is set successfully for the element. |
void |
setFoldTree(java.util.Vector foldTree)
Sets the FoldInfo vector that contains the hierarcy of the fold details for the instances of the element. |
Method Detail |
---|
boolean isFoldAll()
true
if all the instances of the element are folded, otherwise false
.void setFoldAll(boolean allfold)
allfold
- a boolean value.void setFoldTree(java.util.Vector foldTree)
FoldInfo
vector that contains the hierarcy of the fold details for the instances of the element.
foldTree
- The Vector.java.util.Vector getFoldTree()
FoldInfo
vector that contains the hierarcy of the fold details for the instances of the element.
FoldInfo
vector that contains the hierarcy of the fold details for the instances of the element.boolean setFolded(java.util.ArrayList foldinfo)
true
, if the fold condition is set successfully for the element. This function folds the specific index and will have a
toggling effect on the fold condition of the particular index depending on the foldAll flag. If setFoldAll()
is called before this
function, this function unfolds the specific index alone, as all the indices will be folded by default.
foldinfo
- The String array that represents one fold condition. Strings contain foldinfo fragments (bid:index value) in the parent to child
order.
true
if the fold condition is set successfully for the element, otherwise false
.boolean isFolded(java.util.ArrayList foldinfo)
false
, foldinfo is folded,true
, foldinfo is unfolded.
foldinfo
- The ArrayList of FoldInfo
instances.
true
if the fold condition exists in the fold info tree of the element, otherwise false
.boolean removeFold(java.util.ArrayList foldinfo)
true
if the fold condition is removed from the foldinfo tree of the element. Normally this method unfolds the specific index.
Depending on the isFoldAll()
method, this method will have toggling effect on the fold condition of the particular index.
If setFoldAll()
method is called before this method, this method folds the specific index as all the indices will be folded by default.
foldinfo
- The ArrayList of FoldInfo
instances.
true
if the fold condition is removed from the foldinfo tree of the element, otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |