Class Tab.DecorateInfo

java.lang.Object
org.adempiere.webui.component.Tab.DecorateInfo
Enclosing class:
Tab

public static class Tab.DecorateInfo extends Object
class contain decorate info.
at the moment, has only image info at the moment, it's use to transfer decorate info from info window, standard window, report, process,... to tab
Author:
hieplq
  • Constructor Details

    • DecorateInfo

      public DecorateInfo(MImage imageData)
      Parameters:
      imageData - MImage
    • DecorateInfo

      public DecorateInfo(String imagePath)
      Parameters:
      imagePath - Image URL
  • Method Details

    • decorate

      public void decorate(org.zkoss.zul.impl.LabelImageElement comp)
      Parameters:
      comp -
    • get

      public static Tab.DecorateInfo get(ADWindow adWindow)
      Helper method to create decorate info from adWindow info
      Parameters:
      adWindow -
      Returns:
      DecorateInfo
    • get

      public static Tab.DecorateInfo get(MInfoWindow mInfo)
      Create DecorateInfo from Info Window.
      Parameters:
      mInfo -
      Returns:
      DecorateInfo
    • get

      public static Tab.DecorateInfo get(MForm form)