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

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

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * Sencha GXT 2.3.1 - 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.SplitBar;

/**
 * SplitBar 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. * * @see SplitBar */ public class SplitBarEvent extends ComponentEvent { /** * The drag event. */ private DragEvent dragEvent; /** * The current size. */ private int size; /** * The source split bar. */ private SplitBar splitBar; public SplitBarEvent(SplitBar splitBar) { super(splitBar); this.splitBar = splitBar; } /** * Returns the drag event. * * @return the drag event */ public DragEvent getDragEvent() { return dragEvent; } /** * Returns the current size. * * @return the current size */ public int getSize() { return size; } /** * Returns the source split bar. * * @return the source split bar */ public SplitBar getSplitBar() { return splitBar; } /** * Sets the drag event. * * @param dragEvent the drag event */ public void setDragEvent(DragEvent dragEvent) { this.dragEvent = dragEvent; } /** * Sets the current size. * * @param size the size */ public void setSize(int size) { this.size = size; } /** * Sets the source split bar. * * @param splitBar the source split bar */ public void setSplitBar(SplitBar splitBar) { this.splitBar = splitBar; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy