ca.sqlpower.architect.swingui.olap
Interface PaneSection<C>

All Known Implementing Classes:
DimensionPane.HierarchySection, OLAPPaneSection

public interface PaneSection<C>

Interface for sections of a Pane UI.


Method Summary
 void addItem(C item)
          Inserts the given item at the end of this section.
 void addItem(int idx, C item)
          Inserts the given item at the given index within this section.
 java.util.List<C> getItems()
          Returns the items in this section, in the order they should be displayed.
 java.lang.Class<C> getItemType()
          Returns the type of items that appear in this section.
 java.lang.String getTitle()
          Returns this section's title.
 

Method Detail

getTitle

java.lang.String getTitle()
Returns this section's title. If the section should not have a rendered title, returns null.


getItems

java.util.List<C> getItems()
Returns the items in this section, in the order they should be displayed.


getItemType

java.lang.Class<C> getItemType()
Returns the type of items that appear in this section.


addItem

void addItem(int idx,
             C item)
Inserts the given item at the given index within this section.

Parameters:
idx - The index to add at. Must be between 0 and getItems().size() inclusive.
item - The item to add.

addItem

void addItem(C item)
Inserts the given item at the end of this section.

Parameters:
item - The item to add.


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca