ca.sqlpower.architect.swingui.olap
Class DimensionPane.HierarchySection

java.lang.Object
  extended by ca.sqlpower.architect.swingui.olap.DimensionPane.HierarchySection
All Implemented Interfaces:
PaneSection<MondrianModel.Level>
Enclosing class:
DimensionPane

public class DimensionPane.HierarchySection
extends java.lang.Object
implements PaneSection<MondrianModel.Level>


Method Summary
 void addItem(int idx, MondrianModel.Level item)
          Inserts the given item at the given index within this section.
 void addItem(MondrianModel.Level item)
          Inserts the given item at the end of this section.
 MondrianModel.Hierarchy getHierarchy()
           
 java.util.List<MondrianModel.Level> getItems()
          Returns the items in this section, in the order they should be displayed.
 java.lang.Class<MondrianModel.Level> getItemType()
          Returns the type of items that appear in this section.
 java.lang.String getTitle()
          Returns this section's title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getItems

public java.util.List<MondrianModel.Level> getItems()
Description copied from interface: PaneSection
Returns the items in this section, in the order they should be displayed.

Specified by:
getItems in interface PaneSection<MondrianModel.Level>

getTitle

public java.lang.String getTitle()
Description copied from interface: PaneSection
Returns this section's title. If the section should not have a rendered title, returns null.

Specified by:
getTitle in interface PaneSection<MondrianModel.Level>

getHierarchy

public MondrianModel.Hierarchy getHierarchy()

getItemType

public java.lang.Class<MondrianModel.Level> getItemType()
Description copied from interface: PaneSection
Returns the type of items that appear in this section.

Specified by:
getItemType in interface PaneSection<MondrianModel.Level>

addItem

public void addItem(int idx,
                    MondrianModel.Level item)
Description copied from interface: PaneSection
Inserts the given item at the given index within this section.

Specified by:
addItem in interface PaneSection<MondrianModel.Level>
Parameters:
idx - The index to add at. Must be between 0 and getItems().size() inclusive.
item - The item to add.

addItem

public void addItem(MondrianModel.Level item)
Description copied from interface: PaneSection
Inserts the given item at the end of this section.

Specified by:
addItem in interface PaneSection<MondrianModel.Level>
Parameters:
item - The item to add.


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