Class StiDateTimePicker

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, AncestorListener

public class StiDateTimePicker extends StiRequestPanel implements AncestorListener
Copyright Stimulsoft
See Also:
  • Constructor Details

    • StiDateTimePicker

      public StiDateTimePicker()
  • Method Details

    • setDateTime

      public void setDateTime(boolean isDateTime)
    • setSize

      public void setSize(int width, int height)
      Overrides:
      setSize in class Component
    • ancestorAdded

      public void ancestorAdded(AncestorEvent event)
      Hide popup on ancestor added
      Specified by:
      ancestorAdded in interface AncestorListener
    • ancestorRemoved

      public void ancestorRemoved(AncestorEvent event)
      Hide popup on ancestor removed
      Specified by:
      ancestorRemoved in interface AncestorListener
    • ancestorMoved

      public void ancestorMoved(AncestorEvent event)
      Hide popup
      Specified by:
      ancestorMoved in interface AncestorListener
    • getFrame

      protected Frame getFrame(Component comp)
      Parameters:
      comp - Component
      Returns:
      frame Frame
    • getWindow

      protected JWindow getWindow(Component comp)
      Parameters:
      comp - Component
      Returns:
      frame JWindow
    • displayDate

      public void displayDate()
    • getCustomFormat

      public String getCustomFormat()
      Returns:
      the customFormat
    • setCustomFormat

      public void setCustomFormat(String customFormat)
      Parameters:
      customFormat - the customFormat to set
    • getShowCheckBox

      public Boolean getShowCheckBox()
      Returns:
      the showCheckBox
    • setShowCheckBox

      public void setShowCheckBox(Boolean showCheckBox)
      Parameters:
      showCheckBox - the showCheckBox to set
    • getValue

      public StiDateTime getValue()
      Returns:
      the value
    • setValue

      public void setValue(StiDateTime value)
      Parameters:
      value - the value to set
    • setValue

      public void setValue(Date value)
    • setValue

      public void setValue(StiTimeSpan value)
    • isChecked

      public boolean isChecked()
      Returns:
      the checked
    • setChecked

      public void setChecked(boolean checked)
    • setEnabled

      public void setEnabled(boolean enabled)
      Overrides:
      setEnabled in class JComponent
    • getRight

      public int getRight()
    • focus

      public void focus()
    • setLeft

      public void setLeft(int left)