public class URLAction extends Action
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_TYPE_DESCRIPTION |
Constructor and Description |
---|
URLAction(String url)
Constructs the action with a url.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionType()
Returns the action type.
|
String |
getActionTypeDesc()
Returns the action type description
|
String |
getURL()
Returns the URL that this action refers to.
|
String |
toString()
Returns the description of the action.
|
public static String ACTION_TYPE_DESCRIPTION
public URLAction(String url)
url
- The url to go to when activated.public String getURL()
public String getActionType()
getActionType
in class Action
public String getActionTypeDesc()
getActionTypeDesc
in class Action