public abstract class IlvPopupMenuEncoder extends Object
IlvMenu
.Constructor and Description |
---|
IlvPopupMenuEncoder()
Creates a new
IlvPopupMenuEncoder instance. |
Modifier and Type | Method and Description |
---|---|
protected String |
getEncodedPath(List<String> pathList)
Returns the encoded path of a menu item.
|
static IlvMenuItem |
getMenuItemAt(IlvMenu root,
String encodedPath)
Returns the menu item specified by the path encoded by this encoder.
|
abstract void |
writeMenu(IlvMenu menu,
Writer out)
Write the menu passed as parameter using the specified writer.
|
public IlvPopupMenuEncoder()
IlvPopupMenuEncoder
instance.public abstract void writeMenu(IlvMenu menu, Writer out) throws IOException
menu
- The IlvMenu that will be encoded.out
- The writer used to write the result into.IOException
public static IlvMenuItem getMenuItemAt(IlvMenu root, String encodedPath)
root
- The root menu.encodedPath
- The encoded path string.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.