Lines Matching refs:object
33 displayed/manipulated as a GUI object.
37 private Object object;
40 public XObject (Object object, Icon icon) {
41 this(object);
45 public XObject (Object object) {
46 setObject(object);
53 return object.equals(((XObject)o).getObject());
65 return object;
68 //if true the the object.hashcode is added to the label
78 public void setObject(Object object) {
79 this.object = object;
80 // if the object is not a swing component,
84 if (object instanceof JLabel) {
85 setIcon(((JLabel)object).getIcon());
87 text = ((JLabel)object).getText();
91 else if (object instanceof JButton) {
92 setIcon(((JButton)object).getIcon());
94 text = ((JButton)object).getText();
98 text = object.toString();
103 text = text + " ("+object.hashCode()+")";
109 System.out.println("Error setting XObject object :"+