ks.common.view
Class FanPileView
java.lang.Object
ks.common.view.Widget
ks.common.view.RowView
ks.common.view.FanPileView
- All Implemented Interfaces:
- ElementListener
- public class FanPileView
- extends RowView
Represents a Fan of n cards from which only a single card may be selected,
but there may be more than n cards in the model element column.
As soon as a card is selected, the n+1th card (if it exists) is made visible.
Closest relative is the RowView. Because FanPileView extends RowView, the returnWidget()
method for RowView is used successfully.
Creation date: (12/1/01 9:03:44 AM)
Constructor Summary |
FanPileView(int numCards,
Column col)
Construct a FanPileView of numCards, based on the given Column model element. |
Methods inherited from class ks.common.view.Widget |
getBounds, getCardImages, getContainer, getHeight, getImage, getModelElement, getMouseManager, getName, getWidth, getX, getXY, getY, inBounds, isDirty, modelChanged, paint, paint, paint, refresh, refresh, setBounds, setBounds, setContainer, setDirty, setHeight, setImage, setMouseAdapter, setMouseManager, setMouseMotionAdapter, setName, setUndoAdapter, setWidth, setX, setXY, setY, toString, translate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FanPileView
public FanPileView(int numCards,
Column col)
- Construct a FanPileView of numCards, based on the given Column model element.
- Parameters:
numCards
- intcol
- ks.common.model.Column