ca.sqlpower.architect.swingui
Class PlayPenCoordinate<T extends OLAPObject,I extends OLAPObject>

java.lang.Object
  extended by ca.sqlpower.architect.swingui.PlayPenCoordinate<T,I>
Type Parameters:
T - The type of the model of the pane.
I - The type of the items of the pane.

public class PlayPenCoordinate<T extends OLAPObject,I extends OLAPObject>
extends java.lang.Object

Used to represent a location within a container pane.


Field Summary
static int ITEM_INDEX_NONE
          A special item index that means "no location."
static int ITEM_INDEX_SECTION_TITLE
          A special item index that represents a section titlebar area.
static int ITEM_INDEX_TITLE
          A special item index that represents the titlebar area.
 
Constructor Summary
PlayPenCoordinate(OLAPPane<T,I> pane, PaneSection<? extends I> section, int index, I item)
           
 
Method Summary
 int getIndex()
           
 I getItem()
           
 OLAPPane<T,I> getPane()
           
 PaneSection<? extends I> getSection()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ITEM_INDEX_TITLE

public static final int ITEM_INDEX_TITLE
A special item index that represents the titlebar area.

See Also:
Constant Field Values

ITEM_INDEX_NONE

public static final int ITEM_INDEX_NONE
A special item index that means "no location."

See Also:
Constant Field Values

ITEM_INDEX_SECTION_TITLE

public static final int ITEM_INDEX_SECTION_TITLE
A special item index that represents a section titlebar area.

See Also:
Constant Field Values
Constructor Detail

PlayPenCoordinate

public PlayPenCoordinate(OLAPPane<T,I> pane,
                         PaneSection<? extends I> section,
                         int index,
                         I item)
Method Detail

getPane

public OLAPPane<T,I> getPane()

getSection

public PaneSection<? extends I> getSection()

getIndex

public int getIndex()

getItem

public I getItem()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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