Class IImageCaptureProvider.ImageData

java.lang.Object
org.eclnt.jsfserver.defaultscreens.IImageCaptureProvider.ImageData
Enclosing interface:
IImageCaptureProvider

public static class IImageCaptureProvider.ImageData extends Object
Information behind one information aspect.
  • Constructor Details

    • ImageData

      public ImageData()
  • Method Details

    • setReference

      public void setReference(Object value)
      ImageData allows to "park" a reference object, which can be used later on in the event processing. The object is not used within the processing of the IMAGECAPTURE controls, but just serves as reference.
    • getReference

      public Object getReference()
    • getIconUrl

      public String getIconUrl()
    • setIconUrl

      public void setIconUrl(String iconUrl)
      Set the icon for the aspect. Should be a "URL" which is absolute within the web application, e.g. "/images/xyz.png".
    • getIconTooltip

      public String getIconTooltip()
    • setIconTooltip

      public void setIconTooltip(String iconTooltip)
      Tool tip which is shown for the information.
    • getImage

      public byte[] getImage()
    • setImage

      public void setImage(byte[] image)
      Image that is the image behind the information aspect. Pay attention: this is not the icon, but this is the actual image. The icon tells something about the type of information aspect, the image is the information itself.

      Use ValueManager in order to convert byte[] into "hex String".
    • isAvailable

      public boolean isAvailable()
    • setAvailable

      public void setAvailable(boolean available)
      Define if information behind information aspect is available.
    • getCommands

      Returns list of commands. You may change the list (e.g. clear it). Adding of items is done via addCommand().
    • addCommand

      public void addCommand(String id, String text)
      Each information aspect has a set of commands. The commands are shown aside the image of the information aspect. Each command is a combination out of "id" and "text".

      There is a pre-configured command available which uploads an image from the client's file system. Use the id "UPLOAD" in order to take use.
    • addCommand

      public void addCommand(String id, String text, boolean enabled)
      Extended way of passing a command => with "enabled"-information in addition.
    • setPostBgpaint

      public void setPostBgpaint(String value)
      BGPAINT command that is always appended BEHIND the bgpaint that is managed by the component.
    • getPostBgpaint

      public String getPostBgpaint()