|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.swingui.PlayPenComponent
ca.sqlpower.architect.swingui.olap.UsageComponent
public class UsageComponent
A component that visually indicates a usage of one olap pane by another. For example, a dimension usage or a cube usage.
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.swingui.PlayPenComponent |
|---|
backgroundColor, componentPreviouslySelected, foregroundColor, selected |
| Constructor Summary | |
|---|---|
UsageComponent(PlayPenContentPane parent,
OLAPObject model,
OLAPPane<?,?> pane1,
OLAPPane<?,?> pane2)
|
|
| Method Summary | |
|---|---|
LayoutNode |
getHeadNode()
Returns the node whose inbound edge list includes this edge. |
OLAPObject |
getModel()
|
java.lang.String |
getName()
Returns the user-visible name for this component--often the same as getModel().getName(), but this depends entirely on the subclass's idea of what in the model constitutes its name. |
OLAPPane<?,?> |
getPane1()
Returns one of the panes that this usage component connects together. |
OLAPPane<?,?> |
getPane2()
Returns one of the panes that this usage component connects together. |
LayoutNode |
getTailNode()
Returns the node whose outbound edge list includes this edge. |
UsageComponentUI |
getUI()
|
void |
handleMouseEvent(java.awt.event.MouseEvent evt)
Performs the component specific actions for the given MouseEvent. |
protected void |
updateUI()
Creates and installs the UI delegate. |
| Methods inherited from class ca.sqlpower.architect.swingui.PlayPenComponent |
|---|
addPropertyChangeListener, addPropertyChangeListener, addSelectionListener, contains, firePropertyChange, firePropertyChange, fireSelectionEvent, getBackgroundColor, getBounds, getBounds, getFont, getFontMetrics, getFontRenderContext, getForegroundColor, getHeight, getInsets, getLocation, getLocation, getParent, getPlayPen, getPopup, getPreferredLocation, getPreferredSize, getSize, getToolTipText, getWidth, getX, getY, isOpaque, isSelected, paint, removePropertyChangeListener, removeSelectionListener, repaint, repaint, repaint, revalidate, setBackgroundColor, setBounds, setBoundsImpl, setForegroundColor, setInsets, setLocation, setLocation, setOpaque, setSelected, setSize, setToolTipText, setUI, showPopup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsageComponent(PlayPenContentPane parent,
OLAPObject model,
OLAPPane<?,?> pane1,
OLAPPane<?,?> pane2)
| Method Detail |
|---|
protected void updateUI()
Nasty warning: If you override this method, be aware that it's going to get called before your constructor has been invoked. How weird is that?
public OLAPObject getModel()
getModel in class PlayPenComponentpublic java.lang.String getName()
PlayPenComponent
getName in class PlayPenComponentpublic void handleMouseEvent(java.awt.event.MouseEvent evt)
PlayPenComponent
handleMouseEvent in class PlayPenComponentpublic UsageComponentUI getUI()
getUI in class PlayPenComponentpublic OLAPPane<?,?> getPane1()
public OLAPPane<?,?> getPane2()
public LayoutNode getHeadNode()
LayoutEdge
getHeadNode in interface LayoutEdgepublic LayoutNode getTailNode()
LayoutEdge
getTailNode in interface LayoutEdge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||