apps.mtdesktop.tabletop.basket
Class JmeNetworkedBasket

java.lang.Object
  extended by apps.mtdesktop.tabletop.basket.JmeNetworkedBasket

public class JmeNetworkedBasket
extends java.lang.Object

The Class JmeNetworkedBasket.


Constructor Summary
JmeNetworkedBasket(ContentSystem contentSystem)
          Instantiates a new jme networked basket.
 
Method Summary
 void addItem(ContentItem basketItem)
          Adds the item.
 void detachItem(ContentItem item)
          Detach item.
 void excludeItem(java.lang.Class<? extends ContentItem> itemClass)
          Exclude item.
 java.lang.String getComponentAt(float x, float y)
          Gets the component at.
 java.util.List<java.lang.Class<? extends ContentItem>> getExcludedItems()
          Gets the excluded items.
 DesktopClient.Position getPosition()
          Gets the position.
 TableIdentity getTableId()
          Gets the table id.
 Window getWindow()
          Gets the window.
 boolean isBasketComponent(java.lang.String spatialName)
          Checks if is basket component.
 boolean isExcluded(ContentItem contentItem)
          Checks if is excluded.
 void linkItem(ContentItem item)
          Link item.
 void removeItem(ContentItem item)
          Removes the item.
 void setPosition(DesktopClient.Position position)
          Sets the position.
 void setTableId(TableIdentity tableId)
          Sets the table id.
 void unlinkItem(ContentItem item)
          Unlink item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmeNetworkedBasket

public JmeNetworkedBasket(ContentSystem contentSystem)
Instantiates a new jme networked basket.

Parameters:
contentSystem - the content system
Method Detail

addItem

public void addItem(ContentItem basketItem)
Adds the item.

Parameters:
basketItem - the basket item

detachItem

public void detachItem(ContentItem item)
Detach item.

Parameters:
item - the item

excludeItem

public void excludeItem(java.lang.Class<? extends ContentItem> itemClass)
Exclude item.

Parameters:
itemClass - the item class

getComponentAt

public java.lang.String getComponentAt(float x,
                                       float y)
Gets the component at.

Parameters:
x - the x
y - the y
Returns:
the component at

getExcludedItems

public java.util.List<java.lang.Class<? extends ContentItem>> getExcludedItems()
Gets the excluded items.

Returns:
the excluded items

getPosition

public DesktopClient.Position getPosition()
Gets the position.

Returns:
the position

getTableId

public TableIdentity getTableId()
Gets the table id.

Returns:
the table id

getWindow

public Window getWindow()
Gets the window.

Returns:
the window

isBasketComponent

public boolean isBasketComponent(java.lang.String spatialName)
Checks if is basket component.

Parameters:
spatialName - the spatial name
Returns:
true, if is basket component

isExcluded

public boolean isExcluded(ContentItem contentItem)
Checks if is excluded.

Parameters:
contentItem - the content item
Returns:
true, if is excluded

linkItem

public void linkItem(ContentItem item)
Link item.

Parameters:
item - the item

removeItem

public void removeItem(ContentItem item)
Removes the item.

Parameters:
item - the item

setPosition

public void setPosition(DesktopClient.Position position)
Sets the position.

Parameters:
position - the new position

setTableId

public void setTableId(TableIdentity tableId)
Sets the table id.

Parameters:
tableId - the new table id

unlinkItem

public void unlinkItem(ContentItem item)
Unlink item.

Parameters:
item - the item