|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.blackjack.CardData
jadex.examples.blackjack.Card
public class Card
Editable Java class for concept Card
of blackjack_beans ontology.
Field Summary |
---|
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
Card()
Default Constructor. |
|
Card(Card proto)
Clone Constructor. |
|
Card(String type,
String color,
int value)
Default Constructor. |
Method Summary | |
---|---|
Object |
clone()
Get a clone of this Card . |
boolean |
equals(Object obj)
Test the equality of this Card
and an object obj . |
String |
toString()
Get a string representation of this Card . |
Methods inherited from class jadex.examples.blackjack.CardData |
---|
getAdditionalBeanInfo, getBeanDescriptor, getColor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, getType, getValue, loadImage, setColor, setType, setValue |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Card()
Card
.
public Card(String type, String color, int value)
Card
.
public Card(Card proto)
Card
.proto
to this instance.
proto
- The prototype instance.Method Detail |
---|
public String toString()
Card
.
toString
in class CardData
public Object clone()
Card
.
clone
in class Object
public boolean equals(Object obj)
Card
and an object obj
.
equals
in class Object
obj
- the object this test will be performed with
obj
is not of Card
class,
true if all attributes are equal.
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.