|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.blackjack.GameResult
public class GameResult
Java class for concept GameResult 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 | |
---|---|
GameResult()
Default Constructor. |
Method Summary | |
---|---|
BeanInfo[] |
getAdditionalBeanInfo()
Get additional bean info. |
BeanDescriptor |
getBeanDescriptor()
Get the bean descriptor. |
int |
getDefaultEventIndex()
Get the default event index. |
int |
getDefaultPropertyIndex()
Get the default property index. |
EventSetDescriptor[] |
getEventSetDescriptors()
Get the event set descriptors. |
Image |
getIcon(int iconKind)
Get the icon. |
MethodDescriptor[] |
getMethodDescriptors()
Get the method descriptors. |
int |
getMoney()
Get the money of this GameResult. |
PropertyDescriptor[] |
getPropertyDescriptors()
Get the property descriptors. |
boolean |
isWon()
Get the won of this GameResult. |
Image |
loadImage(String resourceName)
Load the image. |
void |
setMoney(int money)
Set the money of this GameResult. |
void |
setWon(boolean won)
Set the won of this GameResult. |
String |
toString()
Get a string representation of this GameResult. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GameResult()
GameResult
.
Method Detail |
---|
public boolean isWon()
public void setWon(boolean won)
won
- the value to be setpublic int getMoney()
public void setMoney(int money)
money
- the value to be setpublic BeanDescriptor getBeanDescriptor()
getBeanDescriptor
in interface BeanInfo
public PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface BeanInfo
public int getDefaultPropertyIndex()
getDefaultPropertyIndex
in interface BeanInfo
public EventSetDescriptor[] getEventSetDescriptors()
getEventSetDescriptors
in interface BeanInfo
public int getDefaultEventIndex()
getDefaultEventIndex
in interface BeanInfo
public MethodDescriptor[] getMethodDescriptors()
getMethodDescriptors
in interface BeanInfo
public BeanInfo[] getAdditionalBeanInfo()
getAdditionalBeanInfo
in interface BeanInfo
public Image getIcon(int iconKind)
getIcon
in interface BeanInfo
public Image loadImage(String resourceName)
public String toString()
toString
in class Object
|
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.