All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.efaps.ui.wicket.models.cell.XYValue Maven / Gradle / Ivy

Go to download

eFaps WebApp provides a web interface as the User Interface for eFaps which can be easily expanded and altered.

There is a newer version: 3.2.0
Show newest version
/*
 * Copyright 2003 - 2009 The eFaps Team
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Revision:        $Rev: 3447 $
 * Last Changed:    $Date: 2009-11-29 17:46:39 -0500 (Sun, 29 Nov 2009) $
 * Last Changed By: $Author: tim.moxter $
 */

package org.efaps.ui.wicket.models.cell;

import java.util.ArrayList;
import java.util.List;

import org.apache.wicket.IClusterable;

/**
 * TODO comment
 *
 * @author jmox
 * @version $Id: XYValue.java 3447 2009-11-29 22:46:39Z tim.moxter $
 */
public class XYValue implements IClusterable{

  private static final long serialVersionUID = 1L;
  private final int y;

  public int getY() {
    return this.y;
  }
  public int getX() {
    return this.xrow.size();
  }


  public List getXrow() {
    return this.xrow;
  }

  private final List xrow = new ArrayList();
  public XYValue (final int _y){
    this.y = _y;
  }

  /**
   * @param value
   */
  public void addX(final int _x) {
    this.xrow.add(_x);
  }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy