public class PositionDescriptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PositionDescriptor.PositionType
Possible types of positioning a menu entry
|
Constructor and Description |
---|
PositionDescriptor()
Create a new entry descriptor with
BOTTOM positioning |
PositionDescriptor(PositionDescriptor.PositionType positionType,
String entryId)
Create a new descriptor
|
Modifier and Type | Method and Description |
---|---|
String |
getMenuEntryId() |
PositionDescriptor.PositionType |
getPositionType() |
public PositionDescriptor()
BOTTOM
positioningpublic PositionDescriptor(PositionDescriptor.PositionType positionType, String entryId)
positionType
- how to position the entryentryId
- the ID of another menu entry to position this item after if position type is
AFTER
public String getMenuEntryId()
AFTER
. Should be null otherwise.public PositionDescriptor.PositionType getPositionType()
Copyright © 2019 Communote team. All rights reserved.