com.itmill.toolkit.terminal
Class Identifiable

java.lang.Object
  extended by com.itmill.toolkit.terminal.Identifiable
Direct Known Subclasses:
AbstractComponent, CustomComponent

public class Identifiable
extends Object

Interface implemented by all classes that can be identified by Unique User Interface Identity (UIID). By default paintable ID's (PIDs) for all UI components are generated with a growing sequence number starting from 0. PIDs are unique but they are created when UI component is rendered to terminal and therefore PIDs may change between subsequent application or session initializations. Classes implementing this interface may set fixed PIDs for any UI component.

Since:
4.1.0
Version:
4.1.4
Author:
IT Mill Ltd.

Constructor Summary
Identifiable()
           
 
Method Summary
 String getDebugId()
           
 String getUIID()
          Deprecated. use setDebugId(String) instead.
 void setDebugId(String id)
           
 void setUIID(String UIID)
          Deprecated. use setDebugId(String) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifiable

public Identifiable()
Method Detail

setUIID

public void setUIID(String UIID)
Deprecated. use setDebugId(String) instead.

Set unique user interface identifier (UIID). This must be unique identity string consisting of characters 0-9, a-Z and _ and it's length must be from 1 to 255.


getUIID

public String getUIID()
Deprecated. use setDebugId(String) instead.

Get unique user interface identifier (UIID)


setDebugId

public void setDebugId(String id)

getDebugId

public String getDebugId()


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.