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

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

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * 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.BoxComponent;
import com.google.gwt.user.client.Event;

/**
 * BoxComponent 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 BoxComponentEvent extends ComponentEvent { /** * The event source. */ private BoxComponent boxComponent; /** * X coordinate */ private int x; /** * Y coordinate */ private int y; /** * The width. */ private int width; /** * The height. */ private int height; /** * The size. */ private int size; /** * Creates a new event. * * @param component the event source */ public BoxComponentEvent(BoxComponent component) { super(component); this.boxComponent = component; } /** * Creates a new event. * * @param component the event source * @param event the event */ public BoxComponentEvent(BoxComponent component, Event event) { super(component, event); this.boxComponent = component; this.event = event; } /** * Creates a new event. * * @param component the box component * @param width the width * @param height the height */ public BoxComponentEvent(BoxComponent component, int width, int height) { super(component); this.boxComponent = component; this.width = width; this.height = height; } public BoxComponent getBoxComponent() { return boxComponent; } public void setBoxComponent(BoxComponent boxComponent) { this.boxComponent = boxComponent; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } public void setY(int y) { this.y = y; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public int getHeight() { return height; } public void setHeight(int height) { this.height = height; } public int getSize() { return size; } public void setSize(int size) { this.size = size; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy