|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContainer
synergynetframework.appsystem.contentsystem.items.Window
synergynetframework.appsystem.contentsystem.items.DropDownList
public class DropDownList
The Class DropDownList.
Nested Class Summary | |
---|---|
class |
DropDownList.DropDownListItem
The Class DropDownListItem. |
static interface |
DropDownList.DropDownListListener
The listener interface for receiving dropDownList events. |
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
DropDownList(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new 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 |
addListItem(java.lang.String title,
java.lang.String value)
Adds the list item. |
void |
addListItem(java.net.URL imageResource,
int width,
int height,
java.lang.String value)
Adds the list item. |
void |
addListItem(java.net.URL imageResource,
java.lang.String value)
Adds the list item. |
void |
clear()
Clear. |
boolean |
containsValue(java.lang.String value)
Contains value. |
int |
getItemHeight()
Gets the item height. |
int |
getLineSpace()
Gets the line space. |
java.util.List<DropDownList.DropDownListItem> |
getListItems()
Gets the list items. |
DropDownList.DropDownListItem |
getSelectedItem()
Gets the selected item. |
java.lang.String |
getSelectedTitle()
Gets the selected title. |
java.lang.String |
getSelectedValue()
Gets the selected value. |
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 |
setItemHeight(int itemHeight)
Sets the item height. |
void |
setLineSpace(int lineSpace)
Sets the line space. |
void |
setSelectedItem(DropDownList.DropDownListItem selectedItem)
Sets the selected item. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.Window |
---|
getBackgroundFrame, getHeight, getWidth, makeFlickable, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContainer |
---|
addSubItem, contains, detachSubItem, getAllItemsIncludeSystemItems, getNode, removeSubItem, removeSubItem, setBringToTopable, setRotateTranslateScalable, setScaleLimit, setTopItem, updateOrder |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
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.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public DropDownList(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public void addDropDownListListener(DropDownList.DropDownListListener listener)
IDropDownListImplementation
addDropDownListListener
in interface IDropDownListImplementation
listener
- the listenerpublic void addListItem(DropDownList.DropDownListItem item)
IDropDownListImplementation
addListItem
in interface IDropDownListImplementation
item
- the itempublic void addListItem(java.lang.String title, java.lang.String value)
title
- the titlevalue
- the valuepublic void addListItem(java.net.URL imageResource, int width, int height, java.lang.String value)
imageResource
- the image resourcewidth
- the widthheight
- the heightvalue
- the valuepublic void addListItem(java.net.URL imageResource, java.lang.String value)
imageResource
- the image resourcevalue
- the valuepublic void clear()
public boolean containsValue(java.lang.String value)
value
- the value
public int getItemHeight()
public int getLineSpace()
public java.util.List<DropDownList.DropDownListItem> getListItems()
public DropDownList.DropDownListItem getSelectedItem()
public java.lang.String getSelectedTitle()
public java.lang.String getSelectedValue()
public void removeDropDownListListener(DropDownList.DropDownListListener listener)
IDropDownListImplementation
removeDropDownListListener
in interface IDropDownListImplementation
listener
- the listenerpublic void removeDropDownListListeners()
IDropDownListImplementation
removeDropDownListListeners
in interface IDropDownListImplementation
public void removeItem(DropDownList.DropDownListItem item)
IDropDownListImplementation
removeItem
in interface IDropDownListImplementation
item
- the itempublic void setItemHeight(int itemHeight)
itemHeight
- the new item heightpublic void setLineSpace(int lineSpace)
IDropDownListImplementation
setLineSpace
in interface IDropDownListImplementation
lineSpace
- the new line spacepublic void setSelectedItem(DropDownList.DropDownListItem selectedItem)
IDropDownListImplementation
setSelectedItem
in interface IDropDownListImplementation
selectedItem
- the new selected item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |