ks.common.view
Class CardView

java.lang.Object
  extended byks.common.view.Widget
      extended byks.common.view.CardView
All Implemented Interfaces:
ElementListener

public class CardView
extends Widget

Represents a single card.

Note: There is no returnWidget(Widget) method because there are no draggable events that would extract a widget from a CardView.

Creation date: (10/4/01 6:09:25 PM)


Constructor Summary
CardView(Card card)
          CardView constructor comment.
 
Method Summary
 void redraw()
          Simply copy Card image.
 
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, returnWidget, 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
 

Constructor Detail

CardView

public CardView(Card card)
CardView constructor comment.

Method Detail

redraw

public void redraw()
Simply copy Card image.

Specified by:
redraw in class Widget
Since:
v1.5.1 properly handles faceup/facedown cards.