|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.swingui.olap.OLAPPaneSection<C>
public abstract class OLAPPaneSection<C>
Generic implementation of a pane section. Should suffice for most uses.
| Constructor Summary | |
|---|---|
OLAPPaneSection(java.lang.Class<C> type,
java.util.List<C> items,
java.lang.String title)
|
|
| Method Summary | |
|---|---|
void |
addItem(C item)
Calls addItem(getItems().size(), item). |
java.util.List<C> |
getItems()
This is the same list that was passed to the constructor. |
java.lang.Class<C> |
getItemType()
Returns the type of items that appear in this section. |
java.lang.String |
getTitle()
Returns this section's title. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ca.sqlpower.architect.swingui.olap.PaneSection |
|---|
addItem |
| Constructor Detail |
|---|
public OLAPPaneSection(java.lang.Class<C> type,
java.util.List<C> items,
java.lang.String title)
| Method Detail |
|---|
public java.util.List<C> getItems()
No matter what, you won't get events from the PaneSection when the item list changes. Consult the model for change notifications.
getItems in interface PaneSection<C>public java.lang.String getTitle()
PaneSection
getTitle in interface PaneSection<C>public java.lang.Class<C> getItemType()
PaneSection
getItemType in interface PaneSection<C>public void addItem(C item)
addItem in interface PaneSection<C>item - The item to add.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||