|
||||||||||
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.ListContainer
public class ListContainer
The Class ListContainer.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
ListContainer(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new list container. |
Method Summary | |
---|---|
void |
addListEventListener(ListEventAdapter l)
Adds the list event listener. |
void |
addSubItem(int index,
QuadContentItem item)
Adds the sub item. |
void |
addSubItem(QuadContentItem item)
Adds the sub item. |
void |
addSubMenu(ListContainer subMenu,
java.lang.String title)
Adds the sub menu. |
void |
clear()
Clear. |
int |
getItemHeight()
Gets the item height. |
int |
getItemWidth()
Gets the item width. |
int |
getLineSpace()
Gets the line space. |
java.util.List<QuadContentItem> |
getListItems()
Gets the list items. |
int |
getSpaceToBottom()
Gets the space to bottom. |
int |
getSpaceToSide()
Gets the space to side. |
int |
getSpaceToTop()
Gets the space to top. |
java.util.Map<SimpleButton,ListContainer> |
getSubMenus()
Gets the sub menus. |
boolean |
isAutoFitSize()
Checks if is auto fit size. |
boolean |
isHorizontal()
Checks if is horizontal. |
void |
removeListEventListener(ListEventListener l)
Removes the list event listener. |
void |
removeListEventListeners()
Removes the list event listeners. |
void |
removeSubItem(QuadContentItem item)
Removes the sub item. |
void |
setAutoFitSize(boolean isAutoFitSize)
Sets the auto fit size. |
void |
setHorizontal(boolean isHorizontal)
Sets the horizontal. |
void |
setItemHeight(int itemHeight)
Sets the item height. |
void |
setItemWidth(int itemWidth)
Sets the item width. |
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 |
setVisible(boolean isVisible)
Sets the visible. |
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, 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.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, update, update |
Constructor Detail |
---|
public ListContainer(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public void addListEventListener(ListEventAdapter l)
l
- the lpublic void addSubItem(int index, QuadContentItem item)
index
- the indexitem
- the itempublic void addSubItem(QuadContentItem item)
item
- the itempublic void addSubMenu(ListContainer subMenu, java.lang.String title)
subMenu
- the sub menutitle
- the titlepublic void clear()
public int getItemHeight()
public int getItemWidth()
public int getLineSpace()
public java.util.List<QuadContentItem> getListItems()
public int getSpaceToBottom()
public int getSpaceToSide()
public int getSpaceToTop()
public java.util.Map<SimpleButton,ListContainer> getSubMenus()
public boolean isAutoFitSize()
public boolean isHorizontal()
public void removeListEventListener(ListEventListener l)
l
- the lpublic void removeListEventListeners()
public void removeSubItem(QuadContentItem item)
item
- the itempublic void setAutoFitSize(boolean isAutoFitSize)
isAutoFitSize
- the new auto fit sizepublic void setHorizontal(boolean isHorizontal)
isHorizontal
- the new horizontalpublic void setItemHeight(int itemHeight)
itemHeight
- the new item heightpublic void setItemWidth(int itemWidth)
itemWidth
- the new item widthpublic void setLineSpace(int lineSpace)
lineSpace
- the new line spacepublic void setSpaceToBottom(int spaceToBottom)
spaceToBottom
- the new space to bottompublic void setSpaceToSide(int spaceToSide)
spaceToSide
- the new space to sidepublic void setSpaceToTop(int spaceToTop)
spaceToTop
- the new space to toppublic void setVisible(boolean isVisible)
IContentItemImplementation
setVisible
in interface IContentItemImplementation
setVisible
in class ContentItem
isVisible
- the new visible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |