org.cruxframework.crux.core.rebind.screen
Class Widget

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.Widget

public class Widget
extends Object

Represent a CRUX Widget at the application's server side.

Author:
Thiago Bustamante

Field Summary
protected  String id
           
protected  Widget parent
           
protected  String type
           
 
Constructor Summary
Widget(JSONObject metadata)
           
Widget(String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 JSONObject getMetadata()
           
 Widget getParent()
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

parent

protected Widget parent

type

protected String type
Constructor Detail

Widget

public Widget(JSONObject metadata)

Widget

public Widget(String id)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getId

public String getId()

getParent

public Widget getParent()

getType

public String getType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getMetadata

public JSONObject getMetadata()


Copyright © 2014. All rights reserved.