synergynetframework.appsystem.contentsystem.jme.items
Class JMEListContainer

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer
              extended by synergynetframework.appsystem.contentsystem.jme.items.JMEWindow
                  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEListContainer
All Implemented Interfaces:
IContentItemImplementation, IListContainerImplementation, IOrthoContainerImplementation, IOrthoContentItemImplementation, IWindowImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener

public class JMEListContainer
extends JMEWindow
implements IListContainerImplementation

The Class JMEListContainer.


Constructor Summary
JMEListContainer(ContentItem contentItem)
          Instantiates a new JME list container.
 
Method Summary
 void addSubItem(int index, QuadContentItem item)
          Adds the sub item.
 void addSubItem(QuadContentItem item)
          Adds the sub item.
 void addSubMenu(SimpleButton button, ListContainer listContainer)
          Adds the sub menu.
 void removeItem(QuadContentItem item)
          Removes the item.
 void render()
          Render.
 void setAutoFitSize(boolean AutoFitSize)
          Sets the auto fit size.
 void setHorizontal(boolean isHorizontal)
          Sets the horizontal.
 void setLineSpace(int lineSpace)
          Sets the line space.
 void setSpaceToBottom(int spaceToBottom)
          Sets the space to bottom.
 void setSpaceToSide(int spaceToSide)
          Sets the space to side.
 void setSpaceToTop(int spaceToTop)
          Sets the space to top.
 void updateVisibility()
          Update visibility.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEWindow
getBackgroundFrame, init, lowerIndex, setBackGround, setBorder, setHeight, setWidth
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer
addSubItem, detachSubItem, getNode, removeSubItem, updateOrder
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addMultitouchListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, cursorChanged, cursorClicked, cursorPressed, cursorReleased, cursorRightClicked, flick, getMaxScale, getMinScale, isFlickable, ItemBringToTop, itemFlicked, itemMoved, itemRotated, itemScaled, itemSnapped, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, screenCursorChanged, screenCursorClicked, screenCursorPressed, screenCursorReleased, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setLocalLocation, setName, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher, update, update
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
contains, getImplementationObject, getLocalLocation, hasCollision, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IWindowImplementation
getBackgroundFrame, setHeight, setWidth
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContainerImplementation
addSubItem, detachSubItem, getNode, removeSubItem, updateOrder
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update
 

Constructor Detail

JMEListContainer

public JMEListContainer(ContentItem contentItem)
Instantiates a new JME list container.

Parameters:
contentItem - the content item
Method Detail

addSubItem

public void addSubItem(int index,
                       QuadContentItem item)
Description copied from interface: IListContainerImplementation
Adds the sub item.

Specified by:
addSubItem in interface IListContainerImplementation
Parameters:
index - the index
item - the item

addSubItem

public void addSubItem(QuadContentItem item)
Description copied from interface: IListContainerImplementation
Adds the sub item.

Specified by:
addSubItem in interface IListContainerImplementation
Parameters:
item - the item

addSubMenu

public void addSubMenu(SimpleButton button,
                       ListContainer listContainer)
Description copied from interface: IListContainerImplementation
Adds the sub menu.

Specified by:
addSubMenu in interface IListContainerImplementation
Parameters:
button - the menu button
listContainer - the list container

removeItem

public void removeItem(QuadContentItem item)
Description copied from interface: IListContainerImplementation
Removes the item.

Specified by:
removeItem in interface IListContainerImplementation
Parameters:
item - the item

render

public void render()
Render.


setAutoFitSize

public void setAutoFitSize(boolean AutoFitSize)
Description copied from interface: IListContainerImplementation
Sets the auto fit size.

Specified by:
setAutoFitSize in interface IListContainerImplementation
Parameters:
AutoFitSize - the new auto fit size

setHorizontal

public void setHorizontal(boolean isHorizontal)
Description copied from interface: IListContainerImplementation
Sets the horizontal.

Specified by:
setHorizontal in interface IListContainerImplementation
Parameters:
isHorizontal - the new horizontal

setLineSpace

public void setLineSpace(int lineSpace)
Description copied from interface: IListContainerImplementation
Sets the line space.

Specified by:
setLineSpace in interface IListContainerImplementation
Parameters:
lineSpace - the new line space

setSpaceToBottom

public void setSpaceToBottom(int spaceToBottom)
Description copied from interface: IListContainerImplementation
Sets the space to bottom.

Specified by:
setSpaceToBottom in interface IListContainerImplementation
Parameters:
spaceToBottom - the new space to bottom

setSpaceToSide

public void setSpaceToSide(int spaceToSide)
Description copied from interface: IListContainerImplementation
Sets the space to side.

Specified by:
setSpaceToSide in interface IListContainerImplementation
Parameters:
spaceToSide - the new space to side

setSpaceToTop

public void setSpaceToTop(int spaceToTop)
Description copied from interface: IListContainerImplementation
Sets the space to top.

Specified by:
setSpaceToTop in interface IListContainerImplementation
Parameters:
spaceToTop - the new space to top

updateVisibility

public void updateVisibility()
Description copied from interface: IListContainerImplementation
Update visibility.

Specified by:
updateVisibility in interface IListContainerImplementation