java.lang.Object | |
↳ | com.pspdfkit.ui.toolbar.grouping.presets.MenuItem |
Class representation of the menu item in the structure. If there's a defined submenu list, the
item is a group. Implementations of MenuItemGroupingRule
can use these to construct
groups from provided flat items (matched by the id).
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public final int | id | ||||||||||
public final int[] | submenuIds |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MenuItem(int id)
Constructor for single menu item.
| |||||||||||
MenuItem(int id, int[] submenuIds)
Constructor for menu item group.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructor for single menu item.
id | Id of the item. |
---|
Constructor for menu item group.
id | If for the group item. |
---|---|
submenuIds | Array of item ids contained in the group submenu. |