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

com.extjs.gxt.ui.client.event.PortalEvent Maven / Gradle / Ivy

/*
 * Sencha GXT 2.3.1a - Sencha for GWT
 * Copyright(c) 2007-2013, Sencha, Inc.
 * [email protected]
 * 
 * http://www.sencha.com/products/gxt/license/
 */
 package com.extjs.gxt.ui.client.event;

import com.extjs.gxt.ui.client.widget.custom.Portal;
import com.extjs.gxt.ui.client.widget.custom.Portlet;

/**
 * Portal event type.
 * 
 * 

* Note: For a given event, only the fields which are appropriate will be filled * in. The appropriate fields for each event are documented by the event source. */ public class PortalEvent extends ContainerEvent { private int column; private Portal portal; private Portlet portlet; private int row; private int startColumn; private int startRow; public PortalEvent(Portal portal) { super(portal); this.portal = portal; } public PortalEvent(Portal portal, Portlet portlet) { super(portal, portlet); this.portal = portal; this.portlet = portlet; } public PortalEvent(Portal portal, Portlet portlet, int startColumn, int startRow, int column, int row) { this(portal, portlet); this.startColumn = startColumn; this.startRow = startRow; this.column = column; this.row = row; } /** * Returns the column index. * * @return the column index */ public int getColumn() { return column; } /** * Returns the source portal. * * @return the source portal */ public Portal getPortal() { return portal; } /** * Returns the portlet. * * @return the portlet */ public Portlet getPortlet() { return portlet; } /** * Returns the row. * * @return the row */ public int getRow() { return row; } /** * Returns the start column. * * @return the start column */ public int getStartColumn() { return startColumn; } /** * Returns the start row. * * @return the start row */ public int getStartRow() { return startRow; } /** * Sets the column index. * * @param column the column index */ public void setColumn(int column) { this.column = column; } /** * Sets the source portal. * * @param portal the portal */ public void setPortal(Portal portal) { this.portal = portal; } /** * Sets the portlet. * * @param portlet the portlet */ public void setPortlet(Portlet portlet) { this.portlet = portlet; } /** * Sets the row. * * @param row the row */ public void setRow(int row) { this.row = row; } /** * Sets the start column. * * @param startColumn the start column */ public void setStartColumn(int startColumn) { this.startColumn = startColumn; } /** * Sets the start row. * * @param startRow the start row */ public void setStartRow(int startRow) { this.startRow = startRow; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy