Package org.odlabs.wiquery.core.options

Examples of org.odlabs.wiquery.core.options.IComplexOption


  /**
   * @return the accept option
   */
  public DroppableAccept getAccept()
  {
    IComplexOption accept = this.options.getComplexOption("accept");
    if (accept instanceof DroppableAccept)
    {
      return (DroppableAccept) accept;
    }

View Full Code Here


  @Override
  protected void respond(AjaxRequestTarget target)
  {
    IRequestParameters req = RequestCycle.get().getRequest().getRequestParameters();
    String eventName = req.getParameterValue("eventName").toString();
    IComplexOption callback = options.getComplexOption(eventName);
    if (callback instanceof AbstractAjaxEventCallback)
    {
      ((AbstractAjaxEventCallback) callback).call(target, getComponent());
    }
  }
View Full Code Here

  /**
   * @return the year range valu option
   */
  public DatePickerYearRange getYearRange()
  {
    IComplexOption yearRange = getComplexOption("yearRange");
    if (yearRange != null && yearRange instanceof DatePickerYearRange)
    {
      return (DatePickerYearRange) yearRange;
    }

View Full Code Here

  /**
   * @return the maxDate option value
   */
  public DateOption getMaxDate()
  {
    IComplexOption maxDate = getComplexOption("maxDate");

    if (maxDate != null && maxDate instanceof DateOption)
    {
      return (DateOption) maxDate;
    }
View Full Code Here

  /**
   * @return the minDate option value
   */
  public DateOption getMinDate()
  {
    IComplexOption minDate = getComplexOption("minDate");

    if (minDate != null && minDate instanceof DateOption)
    {
      return (DateOption) minDate;
    }
View Full Code Here

  /**
   * @return the monthNames option value
   */
  public ArrayOfMonthNames getMonthNames()
  {
    IComplexOption monthNames = getComplexOption("monthNames");

    if (monthNames != null && monthNames instanceof ArrayOfMonthNames)
    {
      return (ArrayOfMonthNames) monthNames;
    }
View Full Code Here

  /**
   * @return the monthNames option value
   */
  public ArrayOfMonthNames getMonthNamesShort()
  {
    IComplexOption monthNamesShort = getComplexOption("monthNamesShort");

    if (monthNamesShort != null && monthNamesShort instanceof ArrayOfMonthNames)
    {
      return (ArrayOfMonthNames) monthNamesShort;
    }
View Full Code Here

  /**
   * Returns the number of months displayed on the date picker.
   */
  public DatePickerNumberOfMonths getNumberOfMonths()
  {
    IComplexOption numberOfMonths = getComplexOption("numberOfMonths");

    if (numberOfMonths != null && numberOfMonths instanceof DatePickerNumberOfMonths)
    {
      return (DatePickerNumberOfMonths) numberOfMonths;
    }
View Full Code Here

  /**
   * Returns the shortYearCutoff option value.
   */
  public DatePickerShortYearCutOff getShortYearCutoff()
  {
    IComplexOption shortYearCutoff = getComplexOption("shortYearCutoff");

    if (shortYearCutoff != null && shortYearCutoff instanceof DatePickerShortYearCutOff)
    {
      return (DatePickerShortYearCutOff) shortYearCutoff;
    }
View Full Code Here

  /**
   * @return the dayNames option value
   */
  public ArrayOfDayNames getDayNames()
  {
    IComplexOption dayNames = getComplexOption("dayNames");

    if (dayNames != null && dayNames instanceof ArrayOfDayNames)
    {
      return (ArrayOfDayNames) dayNames;
    }
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.core.options.IComplexOption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.