|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.menu.GroupedCustomizationMenuContent.Group
public class GroupedCustomizationMenuContent.Group
One group of CustomizationMenuContent
s
Constructor Summary | |
---|---|
GroupedCustomizationMenuContent.Group(CustomizationMenuContent title)
Creates a new group using title as title component. |
Method Summary | |
---|---|
void |
add(CustomizationMenuContent item)
Adds item to this group, there is no effect if the menu is currently showing. |
void |
add(int index,
CustomizationMenuContent item)
Adds item to this group, there is no effect if the menu is currently showing. |
CustomizationMenuContent |
getItem(int index)
Gets the index 'th item of this group. |
int |
getItemCount()
Gets the number of icons in this group |
CustomizationMenuContent |
getTitle()
Gets the current title component. |
void |
remove(CustomizationMenuContent item)
Removes item from this group. |
void |
remove(int index)
Removes index 'th item from this group. |
void |
setTitle(CustomizationMenuContent title)
Sets the title component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupedCustomizationMenuContent.Group(CustomizationMenuContent title)
title
as title component.
title
- a component shown at the top as header, can be null
Method Detail |
---|
public void setTitle(CustomizationMenuContent title)
title
- the new title, can be null
public CustomizationMenuContent getTitle()
null
public void add(CustomizationMenuContent item)
item
to this group, there is no effect if the menu is currently showing.
item
- the item to add, not null
public void add(int index, CustomizationMenuContent item)
item
to this group, there is no effect if the menu is currently showing.
index
- to location where to add item
item
- the item to add, not null
public void remove(CustomizationMenuContent item)
item
from this group. There is no effect it the menu is currently showing.
item
- the item to removepublic void remove(int index)
index
'th item from this group. There is no effect it the menu is currently showing.
index
- the index of the item to removepublic int getItemCount()
public CustomizationMenuContent getItem(int index)
index
'th item of this group.
index
- the index of the item
index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |