Class SimpleIdGenerator

  • All Implemented Interfaces:
    org.zkoss.zk.ui.sys.IdGenerator

    public class SimpleIdGenerator
    extends java.lang.Object
    implements org.zkoss.zk.ui.sys.IdGenerator
    Created by IntelliJ IDEA. User: jsc Date: 21.03.12 Time: 10:16
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String nextComponentUuid​(org.zkoss.zk.ui.Desktop desktop, org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)  
      java.lang.String nextDesktopId​(org.zkoss.zk.ui.Desktop desktop)
      java.lang.String nextPageUuid​(org.zkoss.zk.ui.Page page)
      static java.lang.String nextUuid​(org.zkoss.zk.ui.Desktop desktop)
      Returns the next component UUID.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleIdGenerator

        public SimpleIdGenerator()
    • Method Detail

      • nextDesktopId

        public java.lang.String nextDesktopId​(org.zkoss.zk.ui.Desktop desktop)
        Specified by:
        nextDesktopId in interface org.zkoss.zk.ui.sys.IdGenerator
        See Also:
        IdGenerator.nextDesktopId(org.zkoss.zk.ui.Desktop)
      • nextComponentUuid

        public java.lang.String nextComponentUuid​(org.zkoss.zk.ui.Desktop desktop,
                                                  org.zkoss.zk.ui.Component comp,
                                                  org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)
        Specified by:
        nextComponentUuid in interface org.zkoss.zk.ui.sys.IdGenerator
      • nextPageUuid

        public java.lang.String nextPageUuid​(org.zkoss.zk.ui.Page page)
        Specified by:
        nextPageUuid in interface org.zkoss.zk.ui.sys.IdGenerator
        See Also:
        IdGenerator.nextPageUuid(org.zkoss.zk.ui.Page)
      • nextUuid

        public static java.lang.String nextUuid​(org.zkoss.zk.ui.Desktop desktop)
        Returns the next component UUID.
        Parameters:
        desktop - The Desktop-instance to store the id counter in.
        Returns:
        the next generated id.