public class PencilArrow extends Element
Element.Type
Modifier and Type | Field and Description |
---|---|
protected int |
p1 |
protected int |
p2 |
protected int |
thick |
Constructor and Description |
---|
PencilArrow(int id,
String label,
String color,
Boolean hidden,
Element.Type type,
Boolean trace,
int p1,
int p2,
int thick) |
PencilArrow(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() |
int |
getThick() |
void |
setP1(int p1) |
void |
setP2(int p2) |
void |
setThick(int thick) |
public PencilArrow(int id, String label, String color, Boolean hidden, Element.Type type, Boolean trace, int p1, int p2, int thick)
public PencilArrow(org.apache.wicket.ajax.json.JSONObject object) throws org.apache.wicket.ajax.json.JSONException
org.apache.wicket.ajax.json.JSONException
public org.apache.wicket.ajax.json.JSONObject getJSON() throws org.apache.wicket.ajax.json.JSONException
public int getP2()
public void setP2(int p2)
public int getP1()
public void setP1(int p1)
public int getThick()
public void setThick(int thick)
Copyright © 2015. All rights reserved.