/** * CSS style to apply to the buttons at the bottom of the DateChooser ("Today" and "Cancel"). If null, the CSS style * specified in {@link com.smartgwt.client.widgets.DateChooser#getBaseButtonStyle baseButtonStyle} is used. * * @param baseBottomButtonStyle baseBottomButtonStyle Default value is null */ public void setBaseBottomButtonStyle(String baseBottomButtonStyle) { setAttribute("baseBottomButtonStyle", baseBottomButtonStyle, true); }
/** * Base css style applied to weekdays. Will have "Over", "Selected" and "Down" suffix appended as the user interacts with * buttons. Defaults to {@link com.smartgwt.client.widgets.DateChooser#getBaseButtonStyle baseButtonStyle}. * * @param baseWeekdayStyle baseWeekdayStyle Default value is null */ public void setBaseWeekdayStyle(String baseWeekdayStyle) { setAttribute("baseWeekdayStyle", baseWeekdayStyle, true); }
/** * Last year that may be selected. * * @param endYear endYear Default value is 2015 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEndYear(int endYear) throws IllegalStateException { setAttribute("endYear", endYear, false); }
/** * Determines whether the "Cancel" button will be displayed. * * @param showCancelButton showCancelButton Default value is false */ public void setShowCancelButton(Boolean showCancelButton) { setAttribute("showCancelButton", showCancelButton, true); }
/** * Whether weekend days should be shown. Which days are considered weekends is controlled by weekendDays. * * @param showWeekends showWeekends Default value is true * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowWeekends(Boolean showWeekends) throws IllegalStateException { setAttribute("showWeekends", showWeekends, false); }
/** * Whether alternating weeks should be drawn in alternating styles. If enabled, the cell style for alternate rows will have * {@link com.smartgwt.client.widgets.DateChooser#getAlternateStyleSuffix alternateStyleSuffix} appended to it. * * @param alternateWeekStyles alternateWeekStyles Default value is null */ public void setAlternateWeekStyles(Boolean alternateWeekStyles) { setAttribute("alternateWeekStyles", alternateWeekStyles, true); }
/** * Base css style applied to weekends. Will have "Over", "Selected" and "Down" suffix appended as the user interacts with * buttons. Defaults to {@link com.smartgwt.client.widgets.DateChooser#getBaseWeekdayStyle baseWeekdayStyle}. * * @param baseWeekendStyle baseWeekendStyle Default value is null */ public void setBaseWeekendStyle(String baseWeekendStyle) { setAttribute("baseWeekendStyle", baseWeekendStyle, true); }
/** * Day of the week to show in the first column. 0=Sunday, 1=Monday, ..., 6=Saturday. * * @param firstDayOfWeek firstDayOfWeek Default value is 0 * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setFirstDayOfWeek(int firstDayOfWeek) throws IllegalStateException { setAttribute("firstDayOfWeek", firstDayOfWeek, false); }
/** * Height of the header area (containing the next/previous month & year buttons) in pixels * * @param headerHeight headerHeight Default value is 20 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setHeaderHeight(int headerHeight) throws IllegalStateException { setAttribute("headerHeight", headerHeight, false); }
/** * Height of the icon for the next year button * * @param nextYearIconHeight nextYearIconHeight Default value is 7 */ public void setNextYearIconHeight(int nextYearIconHeight) { setAttribute("nextYearIconHeight", nextYearIconHeight, true); }
/** * Overridden directory where images for this widget (such as the month and year button icons) may be found. * <p><b>Note : </b> This is an advanced setting</p> * * @param skinImgDir skinImgDir Default value is "images/common/" */ public void setSkinImgDir(String skinImgDir) { setAttribute("skinImgDir", skinImgDir, true); }
/** * If set specifies a fixed height for the Today and Cancel buttons. * * @param todayButtonHeight todayButtonHeight Default value is null */ public void setTodayButtonHeight(Integer todayButtonHeight) { setAttribute("todayButtonHeight", todayButtonHeight, true); }
/** * Optional CSS style applied to the day-of-week headers for weekend days. If unset {@link * com.smartgwt.client.widgets.DateChooser#getHeaderStyle headerStyle} will be applied to both weekdays and weekend days. * * @param weekendHeaderStyle weekendHeaderStyle Default value is null */ public void setWeekendHeaderStyle(String weekendHeaderStyle) { setAttribute("weekendHeaderStyle", weekendHeaderStyle, true); }
/** * The text appended to the style name when using {@link com.smartgwt.client.widgets.DateChooser#getAlternateWeekStyles * alternateWeekStyles}. * * @param alternateStyleSuffix alternateStyleSuffix Default value is "Dark" */ public void setAlternateStyleSuffix(String alternateStyleSuffix) { setAttribute("alternateStyleSuffix", alternateStyleSuffix, true); }
/** * CSS style to apply to navigation buttons and date display at the top of the component. If null, the CSS style specified * in {@link com.smartgwt.client.widgets.DateChooser#getBaseButtonStyle baseButtonStyle} is used. * * @param baseNavButtonStyle baseNavButtonStyle Default value is null */ public void setBaseNavButtonStyle(String baseNavButtonStyle) { setAttribute("baseNavButtonStyle", baseNavButtonStyle, true); }
/** * Whether it should be valid to pick a weekend day. If set to true, weekend days appear in disabled style and cannot be * picked. <P> Which days are considered weekends is controlled by weekendDays. * * @param disableWeekends disableWeekends Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setDisableWeekends(Boolean disableWeekends) throws IllegalStateException { setAttribute("disableWeekends", disableWeekends, false); }
/** * Width of the icon for the previous year button * * @param prevYearIconWidth prevYearIconWidth Default value is 14 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setPrevYearIconWidth(int prevYearIconWidth) throws IllegalStateException { setAttribute("prevYearIconWidth", prevYearIconWidth, false); }
/** * Title for "Today" button. * * @param todayButtonTitle todayButtonTitle Default value is "Today" */ public void setTodayButtonTitle(String todayButtonTitle) { setAttribute("todayButtonTitle", todayButtonTitle, true); }
/** * Icon for the next month button * * @param nextMonthIcon nextMonthIcon Default value is "[SKIN]arrow_right.gif" */ public void setNextMonthIcon(String nextMonthIcon) { setAttribute("nextMonthIcon", nextMonthIcon, true); }
/** * Width of the icon for the next year button * * @param nextYearIconWidth nextYearIconWidth Default value is 14 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setNextYearIconWidth(int nextYearIconWidth) throws IllegalStateException { setAttribute("nextYearIconWidth", nextYearIconWidth, false); }