com.extjs.gxt.ui.client.event
Class PortalEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
              extended by com.extjs.gxt.ui.client.event.BoxComponentEvent
                  extended by com.extjs.gxt.ui.client.event.ContainerEvent<Portal,Portlet>
                      extended by com.extjs.gxt.ui.client.event.PortalEvent

public class PortalEvent
extends ContainerEvent<Portal,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.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
PortalEvent(Portal portal)
           
PortalEvent(Portal portal, Portlet portlet)
           
PortalEvent(Portal portal, Portlet portlet, int startColumn, int startRow, int column, int row)
           
 
Method Summary
 int getColumn()
          Returns the column index.
 Portal getPortal()
          Returns the source portal.
 Portlet getPortlet()
          Returns the portlet.
 int getRow()
          Returns the row.
 int getStartColumn()
          Returns the start column.
 int getStartRow()
          Returns the start row.
 void setColumn(int column)
          Sets the column index.
 void setPortal(Portal portal)
          Sets the source portal.
 void setPortlet(Portlet portlet)
          Sets the portlet.
 void setRow(int row)
          Sets the row.
 void setStartColumn(int startColumn)
          Sets the start column.
 void setStartRow(int startRow)
          Sets the start row.
 
Methods inherited from class com.extjs.gxt.ui.client.event.ContainerEvent
getContainer, getIndex, getItem, getSelected, setContainer, setIndex, setItem, setSelected
 
Methods inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent
getBoxComponent, getHeight, getSize, getWidth, getX, getY, setBoxComponent, setHeight, setSize, setWidth, setX, setY
 
Methods inherited from class com.extjs.gxt.ui.client.event.ComponentEvent
getComponent, getState, setComponent, setState
 
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalEvent

public PortalEvent(Portal portal)

PortalEvent

public PortalEvent(Portal portal,
                   Portlet portlet)

PortalEvent

public PortalEvent(Portal portal,
                   Portlet portlet,
                   int startColumn,
                   int startRow,
                   int column,
                   int row)
Method Detail

getColumn

public int getColumn()
Returns the column index.

Returns:
the column index

getPortal

public Portal getPortal()
Returns the source portal.

Returns:
the source portal

getPortlet

public Portlet getPortlet()
Returns the portlet.

Returns:
the portlet

getRow

public int getRow()
Returns the row.

Returns:
the row

getStartColumn

public int getStartColumn()
Returns the start column.

Returns:
the start column

getStartRow

public int getStartRow()
Returns the start row.

Returns:
the start row

setColumn

public void setColumn(int column)
Sets the column index.

Parameters:
column - the column index

setPortal

public void setPortal(Portal portal)
Sets the source portal.

Parameters:
portal - the portal

setPortlet

public void setPortlet(Portlet portlet)
Sets the portlet.

Parameters:
portlet - the portlet

setRow

public void setRow(int row)
Sets the row.

Parameters:
row - the row

setStartColumn

public void setStartColumn(int startColumn)
Sets the start column.

Parameters:
startColumn - the start column

setStartRow

public void setStartRow(int startRow)
Sets the start row.

Parameters:
startRow - the start row