com.stimulsoft.report.dialogs
Class StiDateTimePickerControl

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.StiBase
              extended by com.stimulsoft.report.components.StiComponent
                  extended by com.stimulsoft.report.components.complexcomponents.StiContainer
                      extended by com.stimulsoft.report.dialogs.StiReportControl
                          extended by com.stimulsoft.report.dialogs.StiDateTimePickerControl
All Implemented Interfaces:
IStiAppExpressionCollection, IStiJsonReportObject, IStiForceSerializable, IStiSerializable, IStiSerializableRef, IStiSerializableToAttributes, IStiName, IStiBorder, IStiBreakable, IStiBrush, IStiCanGrow, IStiCanShrink, IStiComponentGuid, IStiConditions, IStiGrowToHeight, IStiInteraction, IStiPrintOn, IStiSelect, IStiShift, IStiUnitConvert, IStiDateTimePickerControl, IStiReportControl, IStiReportProperty, IStiIgnoryStyle, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable

public class StiDateTimePickerControl
extends StiReportControl
implements IStiDateTimePickerControl

Represents a Windows date-time picker control.


Field Summary
 
Fields inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
border, brush, collapsingIndex, components, ParentComponentIsBand, ParentComponentIsCrossBand
 
Fields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiDateTimePickerControl()
          Creates a new StiDateTimePickerControl.
StiDateTimePickerControl(StiRectangle rect)
          Creates a new StiDateTimePickerControl.
 
Method Summary
 java.lang.String getCustomFormat()
          Gets or sets the custom date-time format string.
 StiEvent GetDefaultEvent()
          Gets default event for this report control.
 StiEventsCollection getEvents()
          Return events collection of this component;
 java.lang.String getFormat()
           
 double getHeight()
          Gets or sets the height of the control.
 java.lang.String getLocalizedName()
          Gets a localized component name.
 java.util.Calendar getMaxDate()
          Gets or sets the maximum date and time that can be selected in the control.
 java.lang.String getMaxDateBinding()
          Gets the data bindings for the max date.
 java.util.Calendar getMinDate()
          Gets or sets the minimum date and time that can be selected in the control.
 java.lang.String getMinDateBinding()
          Gets the data bindings for the min date.
 boolean getShowUpDown()
          Gets or sets a value indicating whether an up-down control is used to adjust the date-time value.
 boolean getToday()
          Gets or sets value which indicates the date is set equal current date.
 int getToolboxPosition()
          Gets value to sort a position in the toolbox.
 java.util.Calendar getValue()
          Gets or sets the date-time value assigned to the control.
 java.lang.String getValueBinding()
          Gets the data bindings for the value.
 StiValueChangedEvent getValueChangedEvent()
          Gets or sets a script of the event ValueChanged.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCustomFormat(java.lang.String value)
           
 void setFormat(java.lang.String format)
           
 void setHeight(double value)
           
 void setMaxDate(java.util.Calendar value)
           
 void setMaxDateBinding(java.lang.String value)
           
 void setMinDate(java.util.Calendar value)
           
 void setMinDateBinding(java.lang.String value)
           
 void setShowUpDown(boolean value)
           
 void setToday(boolean value)
           
 void setValue(java.util.Calendar value)
           
 void setValueBinding(java.lang.String value)
           
 void setValueChangedEvent(StiValueChangedEvent value)
           
 
Methods inherited from class com.stimulsoft.report.dialogs.StiReportControl
canContainIn, clone, convert, getAfterPrintEvent, getBackColor, getBeforePrintEvent, getBookmark, getBorder, getBrush, getCanGrow, getCanShrink, getClickEvent, getComponentStyle, getConditions, getControlWpf, getDefaultClientRectangle, getDockStyle, getDoubleClickEvent, getEnabled, getEnterEvent, getFont, getForeColor, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGrowToHeight, getHyperlink, getInteraction, getIsReportContainer, getLeaveEvent, getLeft, getLocalizedCategory, getLocation, getMaxSize, getMinSize, getMouseDownEvent, getMouseEnterEvent, getMouseLeaveEvent, getMouseMoveEvent, getMouseUpEvent, getPrintable, getPrintOn, getServiceCategory, getShiftMode, getSize, getTag, getTagValueBinding, getToolTip, getTop, getUseParentStyles, getVisible, getWidth, InvokeEnter, InvokeLeave, InvokeMouseDown, InvokeMouseMove, InvokeMouseUp, packService, setAfterPrintEvent, setBackColor, setBeforePrintEvent, setBookmark, setBorder, setBrush, setCanGrow, setCanShrink, setClickEvent, setComponentStyle, setConditions, setControlWpf, setDockStyle, setDoubleClickEvent, setEnabled, setEnterEvent, setFont, setForeColor, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGrowToHeight, setHyperlink, setInteraction, setLeaveEvent, setLeft, setLocation, setMaxSize, setMinSize, setMouseDownEvent, setMouseEnterEvent, setMouseLeaveEvent, setMouseMoveEvent, setMouseUpEvent, setPrintable, setPrintOn, setShiftMode, setSize, setTag, setTagValueBinding, setToolTip, setTop, setUseParentStyles, setVisible, setWidth
 
Methods inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
AlignTo, AlignToGrid, AlignToGrid, Break, BringToFront, ChangePosition, checkLargeHeight, ClearAllStates, clone, clone, ContainerToPage, ContainerToPage, Convert, ConvertSelectedToPage, ConvertToPage, Correct, Correct, correct2, getActualSize, getActualSize, GetBorder, GetBrush, getCanBreak, getClientRectangle, getCollapsedValue, getCollapsingIndex, getCollapsingTreePath, getComponentPlacementForChildren, getComponents, GetComponents, GetComponentsCount, GetComponentsList, getComponentsSelectedRectangle, getComponentType, GetConditions, getContainerInfoV1, getContainerInfoV2, GetContainerInRect, GetContainerInRect2, GetDockableComponent, GetDockStyle, GetFirstSelectableCompanent, GetFont, getGuid, getHasSelected, GetHorAlignment, GetIncorrect, GetIncorrect, getIncorrect2, GetMaxSize, getName, getPriority, GetRectangle, GetSelectedComponents, GetSelectedComponentsWithChilds, GetSelectedRectangleWithChilds, getTagValue, GetTextBrush, GetTextFormat, GetTextHorAlignment, GetVertAlignment, GetWordWrap, GrowFont, InvertComponentsPosition, isForceSerializeToReport, MakeHorizontalSpacingEqual, MakeSameHeight, MakeSameSize, MakeSameWidth, MakeVerticalSpacingEqual, MoveBackward, MoveComponentsToPage, MoveForward, Normalize, OffsetLocation, PageToContainer, PageToContainer, RemoveAllSelected, ResetSelection, RestoreState, saveState, SelectAll, SelectComponent, SelectInRectangle, SelectInRectangleCheckBands, SendToBack, setBlocked, SetBorder, SetBrush, setCanBreak, SetCenterHorizontally, SetCenterVertically, setCollapsedValue, setCollapsingIndex, setCollapsingTreePath, setComponents, setComponentsFont, setComponentsFont, setComponentsWithSetParent, setComponentsWordWrap, SetConditions, setContainerInfoV2, SetDockStyle, setForceSerializeToReport, SetHorAlign, SetLink, setParentComponentIsBand, setParentComponentIsCrossBand, SetParentStylesToChilds, SetParentStylesToChilds, SetTextBrush, SetTextFormat, SetTextHorAlign, SetVertAlign, ShrinkFont, SortByPriority
 
Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, applyConditions, CheckForParentComponent, clearAllStates, ClearContents, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, fillComponentPlacement, getAlias, getAllowDelete, getAnchor, getBookmarkValue, getBottom, getComponentPlacement, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDrillDownParameters, getExpressions, getForceRedrawAll, getGroupHeaderBand, GetGroupHeaderBand, getHighlightState, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLevel, getLinked, getLocked, getMeasureGraphics, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceType, getShift, getShowQuickButtons, getTagStrValue, getToolTipValue, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, isExportAsImage, IsParentSelect, NewGuid, OnRemoveComponent, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAlias, setAnchor, setBookmarkValue, setClientRectangle, setComponentPlacement, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDrillDownParameters, setExpressions, setGuid, setHeightProp, setHighlightState, setHyperlinkValue, setIgnoreNamingRule, setInherited, setIsRendered, setIsSelected, setLeftProp, setLinked, setLocked, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShowQuickButtons, setStates, setTagValue, setToolTipValue, setTopProp, setWidthProp, toString, UnPrepare
 
Methods inherited from class com.stimulsoft.report.StiBase
getServiceName
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiDateTimePickerControl

public StiDateTimePickerControl()
Creates a new StiDateTimePickerControl.


StiDateTimePickerControl

public StiDateTimePickerControl(StiRectangle rect)
Creates a new StiDateTimePickerControl.

Parameters:
rect - The rectangle describes sizes and position of the control.
Method Detail

getEvents

public StiEventsCollection getEvents()
Return events collection of this component;

Overrides:
getEvents in class StiReportControl

getToolboxPosition

public int getToolboxPosition()
Gets value to sort a position in the toolbox.

Overrides:
getToolboxPosition in class StiReportControl

getLocalizedName

public java.lang.String getLocalizedName()
Gets a localized component name.

Overrides:
getLocalizedName in class StiReportControl

getValueChangedEvent

public StiValueChangedEvent getValueChangedEvent()
Gets or sets a script of the event ValueChanged.


setValueChangedEvent

public void setValueChangedEvent(StiValueChangedEvent value)

getValueBinding

public final java.lang.String getValueBinding()
Gets the data bindings for the value.


setValueBinding

public final void setValueBinding(java.lang.String value)

getMaxDateBinding

public final java.lang.String getMaxDateBinding()
Gets the data bindings for the max date.


setMaxDateBinding

public final void setMaxDateBinding(java.lang.String value)

getMinDateBinding

public final java.lang.String getMinDateBinding()
Gets the data bindings for the min date.


setMinDateBinding

public final void setMinDateBinding(java.lang.String value)

getHeight

public double getHeight()
Gets or sets the height of the control.

Overrides:
getHeight in class StiReportControl

setHeight

public void setHeight(double value)
Overrides:
setHeight in class StiReportControl

getShowUpDown

public boolean getShowUpDown()
Gets or sets a value indicating whether an up-down control is used to adjust the date-time value.


setShowUpDown

public void setShowUpDown(boolean value)

getToday

public boolean getToday()
Gets or sets value which indicates the date is set equal current date.


setToday

public void setToday(boolean value)

getCustomFormat

public java.lang.String getCustomFormat()
Gets or sets the custom date-time format string.


setCustomFormat

public void setCustomFormat(java.lang.String value)

getMaxDate

public java.util.Calendar getMaxDate()
Gets or sets the maximum date and time that can be selected in the control.


setMaxDate

public void setMaxDate(java.util.Calendar value)

getMinDate

public java.util.Calendar getMinDate()
Gets or sets the minimum date and time that can be selected in the control.


setMinDate

public void setMinDate(java.util.Calendar value)

getValue

public java.util.Calendar getValue()
Gets or sets the date-time value assigned to the control.

Specified by:
getValue in interface IStiDateTimePickerControl

setValue

public void setValue(java.util.Calendar value)
Specified by:
setValue in interface IStiDateTimePickerControl

GetDefaultEvent

public StiEvent GetDefaultEvent()
Gets default event for this report control.

Specified by:
GetDefaultEvent in interface IStiReportControl
Overrides:
GetDefaultEvent in class StiReportControl
Returns:
Default event.

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiReportControl
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiReportControl
Throws:
JSONException