|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Widget | |
ks.common.view | Core set of classes needed to properly view KombatSolitaire Plugins. |
Uses of Widget in ks.common.view |
Subclasses of Widget in ks.common.view | |
class |
BuildablePileView
Visually represents a BuildablePile element on the screen. |
class |
CardView
Represents a single card. |
class |
ColumnView
Represents a column of cards (face up) on the screen. |
class |
DeckView
A Widget for displaying a Deck on the screen. |
class |
EmptyWidget
To simplify some algorithms, an EmptyWidget object is a sentinel that can be used to identify no Widget at all (rather than use null). |
class |
FanPileView
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. |
class |
IntegerView
A Widget for displaying an integer (such as score or number of cards left). |
class |
PileView
Creates view of a pile of cards (only top one being visible). |
class |
RowView
Represents a row of cards on the screen. |
class |
StringView
A Widget for displaying a string. |
Methods in ks.common.view that return Widget | |
Widget |
Container.getActiveDraggingObject()
Returns the object being dragged. |
Widget |
Container.getDragSource()
Gets the source widget from which a drag originated. |
static Widget |
Container.getNothingBeingDragged()
Returns a 'sentinel' object that represents the fact that nothing is being dragged. |
Widget |
Container.getWidget(java.awt.event.MouseEvent me)
Return the widget (or null if none exist) that includes given mouse location. |
Widget |
Container.intersectsWidget(java.awt.Rectangle r)
Returns the first Widget that intersects the given Rectangle (or null if none exist). |
Methods in ks.common.view with parameters of type Widget | |
boolean |
Widget.returnWidget(Widget w)
Each Widget presents the graphical representation of an entity element. |
boolean |
RowView.returnWidget(Widget w)
Return the CardView widget's model element back onto the underlying Column. |
boolean |
PileView.returnWidget(Widget w)
Return the CardView widget's model element back onto the underlying Pile. |
boolean |
Container.addWidget(Widget w)
Adds the widget to the Container. |
void |
Container.setActiveDraggingObject(Widget newActiveDraggingObject,
java.awt.event.MouseEvent me)
Specifies the Widget being dragged. |
void |
Container.setDragSource(Widget newDragSource)
Sets the source widget from which a drag originated. |
boolean |
ColumnView.returnWidget(Widget w)
Return the CardView widget's model element back onto the underlying Column. |
boolean |
BuildablePileView.returnWidget(Widget w)
Return the ColumnView widget's model element back onto the underlying BuildablePile. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |