public class PencilRect extends Element
Element.Type| Constructor and Description |
|---|
PencilRect(int id,
String label,
String color,
Boolean hidden,
Element.Type type,
Boolean trace,
int p1,
int p2) |
PencilRect(org.apache.wicket.ajax.json.JSONObject object) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.ajax.json.JSONObject |
getJSON()
Return a JSON object which represent the Element
|
int |
getP1() |
int |
getP2() |
void |
setP1(int p1) |
void |
setP2(int p2) |
public PencilRect(int id,
String label,
String color,
Boolean hidden,
Element.Type type,
Boolean trace,
int p1,
int p2)
public PencilRect(org.apache.wicket.ajax.json.JSONObject object)
throws org.apache.wicket.ajax.json.JSONException
org.apache.wicket.ajax.json.JSONExceptionCopyright © 2015. All rights reserved.