Jadex 0.941

jadex.examples.blackjack
Class RequestDraw

java.lang.Object
  extended byjadex.adapter.fipa.AgentAction
      extended byjadex.examples.blackjack.RequestDraw
All Implemented Interfaces:
BeanInfo, Serializable

public class RequestDraw
extends AgentAction
implements BeanInfo

Java class for concept RequestDraw of blackjack_beans ontology.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
RequestDraw()
          Default Constructor.
 
Method Summary
 void addCard(Card card)
          Add a card to this RequestDraw.
 BeanInfo[] getAdditionalBeanInfo()
          Get additional bean info.
 BeanDescriptor getBeanDescriptor()
          Get the bean descriptor.
 Card getCard(int idx)
          Get an cards of this RequestDraw.
 Card[] getCards()
          Get the cards of this RequestDraw.
 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.
 PropertyDescriptor[] getPropertyDescriptors()
          Get the property descriptors.
 Image loadImage(String resourceName)
          Load the image.
 boolean removeCard(Card card)
          Remove a card from this RequestDraw.
 void setCard(int idx, Card card)
          Set a card to this RequestDraw.
 void setCards(Card[] cards)
          Set the cards of this RequestDraw.
 String toString()
          Get a string representation of this RequestDraw.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestDraw

public RequestDraw()
Default Constructor.
Create a new RequestDraw.

Method Detail

getCards

public Card[] getCards()
Get the cards of this RequestDraw.

Returns:
cards

setCards

public void setCards(Card[] cards)
Set the cards of this RequestDraw.

Parameters:
cards - the value to be set

getCard

public Card getCard(int idx)
Get an cards of this RequestDraw.

Parameters:
idx - The index.
Returns:
cards

setCard

public void setCard(int idx,
                    Card card)
Set a card to this RequestDraw.

Parameters:
idx - The index.
card - a value to be added

addCard

public void addCard(Card card)
Add a card to this RequestDraw.

Parameters:
card - a value to be removed

removeCard

public boolean removeCard(Card card)
Remove a card from this RequestDraw.

Parameters:
card - a value to be removed
Returns:
True when the cards have changed.

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Get the bean descriptor.

Specified by:
getBeanDescriptor in interface BeanInfo
Returns:
The bean descriptor.

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Get the property descriptors.

Specified by:
getPropertyDescriptors in interface BeanInfo
Returns:
The property descriptors.

getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Get the default property index.

Specified by:
getDefaultPropertyIndex in interface BeanInfo
Returns:
The property index.

getEventSetDescriptors

public EventSetDescriptor[] getEventSetDescriptors()
Get the event set descriptors.

Specified by:
getEventSetDescriptors in interface BeanInfo
Returns:
The event set descriptors.

getDefaultEventIndex

public int getDefaultEventIndex()
Get the default event index.

Specified by:
getDefaultEventIndex in interface BeanInfo
Returns:
The default event index.

getMethodDescriptors

public MethodDescriptor[] getMethodDescriptors()
Get the method descriptors.

Specified by:
getMethodDescriptors in interface BeanInfo
Returns:
The method descriptors.

getAdditionalBeanInfo

public BeanInfo[] getAdditionalBeanInfo()
Get additional bean info.

Specified by:
getAdditionalBeanInfo in interface BeanInfo
Returns:
Get additional bean info.

getIcon

public Image getIcon(int iconKind)
Get the icon.

Specified by:
getIcon in interface BeanInfo
Returns:
The icon.

loadImage

public Image loadImage(String resourceName)
Load the image.

Returns:
The image.

toString

public String toString()
Get a string representation of this RequestDraw.

Returns:
The string representation.

Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.