Class DColorField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.kopi.galite.visual.base.UComponent, org.kopi.galite.visual.form.UField

public class DColorField extends DObjectField
DColorField is a panel composed in a color field and a label behind
See Also:
  • Constructor Details

    • DColorField

      public DColorField(org.kopi.galite.visual.form.VFieldUI model, DLabel label, int align, int options, boolean detail)
      Constructor
      Parameters:
      model - the model for this text field
      label - The label that describe this field
      options - The possible options (NO EDIT, NO ECHO)
  • Method Details

    • getObject

      public Object getObject()
      Returns the object associed to record r
      Specified by:
      getObject in interface org.kopi.galite.visual.form.UField
      Specified by:
      getObject in class DField
      Returns:
      the displayed value at this position
    • setObject

      public void setObject(Object s)
      Sets the object associed to record r
      Parameters:
      s - the object to set in
    • setDisplayProperties

      public void setDisplayProperties()
      Specified by:
      setDisplayProperties in class DField
    • update

      public void update()
      This method is called after an action of the user, object should be redisplayed accordingly to changes.
      Overrides:
      update in class DField
    • updateAccess

      public void updateAccess()
      Specified by:
      updateAccess in interface org.kopi.galite.visual.form.UField
      Overrides:
      updateAccess in class DField
    • updateText

      public void updateText()
      Specified by:
      updateText in interface org.kopi.galite.visual.form.UField
      Overrides:
      updateText in class DField
    • updateFocus

      public void updateFocus()
      Specified by:
      updateFocus in interface org.kopi.galite.visual.form.UField
      Overrides:
      updateFocus in class DField
    • updateColor

      public void updateColor()
    • setBlink

      public void setBlink(boolean start)
      set blink state