synergynetframework.appsystem.contentsystem.jme.items
Class JMEDropDownList

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.JMEDropDownList
All Implemented Interfaces:
IContentItemImplementation, IDropDownListImplementation, IOrthoContainerImplementation, IOrthoContentItemImplementation, IWindowImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener

public class JMEDropDownList
extends JMEWindow
implements IDropDownListImplementation

The Class JMEDropDownList.


Constructor Summary
JMEDropDownList(ContentItem contentItem)
          Instantiates a new JME drop down list.
 
Method Summary
 void addDropDownListListener(DropDownList.DropDownListListener listener)
          Adds the drop down list listener.
 void addListItem(DropDownList.DropDownListItem item)
          Adds the list item.
 void init()
          Inits the.
 void removeDropDownListListener(DropDownList.DropDownListListener listener)
          Removes the drop down list listener.
 void removeDropDownListListeners()
          Removes the drop down list listeners.
 void removeItem(DropDownList.DropDownListItem item)
          Removes the item.
 void render()
          Render.
 void setLineSpace(int lineSpace)
          Sets the line space.
 void setSelectedItem(DropDownList.DropDownListItem selectedItem)
          Sets the selected item.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEWindow
getBackgroundFrame, 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, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update
 

Constructor Detail

JMEDropDownList

public JMEDropDownList(ContentItem contentItem)
Instantiates a new JME drop down list.

Parameters:
contentItem - the content item
Method Detail

addDropDownListListener

public void addDropDownListListener(DropDownList.DropDownListListener listener)
Description copied from interface: IDropDownListImplementation
Adds the drop down list listener.

Specified by:
addDropDownListListener in interface IDropDownListImplementation
Parameters:
listener - the listener

addListItem

public void addListItem(DropDownList.DropDownListItem item)
Description copied from interface: IDropDownListImplementation
Adds the list item.

Specified by:
addListItem in interface IDropDownListImplementation
Parameters:
item - the item

init

public void init()
Description copied from interface: IContentItemImplementation
Inits the.

Specified by:
init in interface IContentItemImplementation
Overrides:
init in class JMEWindow

removeDropDownListListener

public void removeDropDownListListener(DropDownList.DropDownListListener listener)
Description copied from interface: IDropDownListImplementation
Removes the drop down list listener.

Specified by:
removeDropDownListListener in interface IDropDownListImplementation
Parameters:
listener - the listener

removeDropDownListListeners

public void removeDropDownListListeners()
Description copied from interface: IDropDownListImplementation
Removes the drop down list listeners.

Specified by:
removeDropDownListListeners in interface IDropDownListImplementation

removeItem

public void removeItem(DropDownList.DropDownListItem item)
Description copied from interface: IDropDownListImplementation
Removes the item.

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

render

public void render()
Render.


setLineSpace

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

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

setSelectedItem

public void setSelectedItem(DropDownList.DropDownListItem selectedItem)
Description copied from interface: IDropDownListImplementation
Sets the selected item.

Specified by:
setSelectedItem in interface IDropDownListImplementation
Parameters:
selectedItem - the new selected item