|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object that specifies the order in which report elements should be visited. This traversal policy typically controls how the "Tab" key behaves. Typically, a forward traversal will visit every report element exactly once, and a backward traversal will visit the same elements in the reverse order. The installed ReportEditorKit may choose to ignore certain elements (e.g. if the element is not selectable).
| Method Summary | |
Element |
getElementAfter(Element element)
Returns the element after the specified element in a traversal. |
Element |
getElementBefore(Element element)
Returns the element before the specified element in a traversal. |
Element |
getFirstElement(Report report)
Returns the starting point of a report traversal. |
Element |
getLastElement(Report report)
Returns the ending point of a report traversal. |
| Method Detail |
public Element getFirstElement(Report report)
An implementation will generally use Report.getRootElement to
retrieve the root element and then use methods in the appropriate
subclass of Element to
navigate to the desired Element.
report - the report to traverse
null if
no such element exists
java.lang.NullPointerException - if report is nullgetLastElement(sos.reports.Report),
Report.getRootElement()public Element getLastElement(Report report)
An implementation will generally use Report.getRootElement to
retrieve the root element and then use methods in the appropriate
subclass of Element to
navigate to the desired Element.
report - the report to traverse
null if
no such element exists
java.lang.NullPointerException - if reportPane is nullgetFirstElement(sos.reports.Report),
Report.getRootElement()public Element getElementAfter(Element element)
element - element for which to return the subsequent element
element in
a traversal, or null if no such
element exists
java.lang.NullPointerException - if element is nullgetElementBefore(sos.reports.Element)public Element getElementBefore(Element element)
element - element for which to return the preceding element
element in
a traversal, or null if no such
element exists
java.lang.NullPointerException - if element is nullgetElementAfter(sos.reports.Element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||