public class Modify extends Interaction implements Serializable
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
Modify(Feature... features)
Creates a new instance.
|
Modify(Style style,
Feature... features)
Creates a new instance.
|
Modify(Style style,
Vector vector)
Creates a new instance.
|
Modify(Vector vector)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changed(org.apache.wicket.ajax.AjaxRequestTarget target)
Notifies the interaction that it has changed.
|
Modify |
features(Feature[] features)
Sets the features for this interaction.
|
Modify |
features(List<Feature> featuresList)
Sets the features for this interaction.
|
Feature[] |
getFeatures()
Returns the features for this interaction.
|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
Style |
getStyle()
Returns the style for this interaction.
|
Vector |
getVector()
Returns the vector source for this interaction's features.
|
protected String |
renderAttributesJs() |
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setFeatures(Feature[] features)
Sets the features for this interaction.
|
void |
setStyle(Style style)
Sets the style for this interaction.
|
void |
setVector(Vector vector)
Sets the vector source for this interaction's features.
|
Modify |
style(Style style)
Sets the style for this interaction.
|
Modify |
vector(Vector vector)
Sets the vector source for this interaction's features.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic Modify(Feature... features)
features - Features for this interactionpublic Modify(Style style, Feature... features)
style - Style for this interaction (applied to feature when interacting)features - Features for this interactionpublic Modify(Vector vector)
vector - Vector of features for this interactionpublic Feature[] getFeatures()
public void setFeatures(Feature[] features)
features - New valuepublic Modify features(Feature[] features)
features - New valuepublic Modify features(List<Feature> featuresList)
featuresList - A list of feature instancespublic Vector getVector()
public void setVector(Vector vector)
vector - Vector source of featurespublic Modify vector(Vector vector)
vector - Vector source of featurespublic Style getStyle()
public void setStyle(Style style)
style - New valuepublic Modify style(Style style)
style - New valuepublic void changed(org.apache.wicket.ajax.AjaxRequestTarget target)
target - AJAX request targetpublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class Interactionpublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class Interactionprotected String renderAttributesJs()
Copyright © 2015. All rights reserved.