public class NamedDestination extends Object
Constructor and Description |
---|
NamedDestination(String name,
AbstractAction action)
Creates a new named destination.
|
Modifier and Type | Method and Description |
---|---|
AbstractAction |
getAction()
Returns the action performed when the destination is selected.
|
String |
getName()
Returns the destination's name.
|
void |
setAction(AbstractAction action)
Sets the action performed when the destination is selected.
|
public NamedDestination(String name, AbstractAction action)
name
- the destination's nameaction
- the action performed when the destination is selectedpublic String getName()
public AbstractAction getAction()
public void setAction(AbstractAction action)
action
- the actionCopyright © 2025 Apache Software Foundation. All rights reserved.