org.gnu.gtk.event

Class IconViewEvent

public class IconViewEvent extends GtkEvent

This event is used to identify when a IconView receives an event

See Also: IconViewListener

Nested Class Summary
static classIconViewEvent.Type
Constructor Summary
IconViewEvent(Object source, EventType type)
Constructor for IconViewEvent.
Method Summary
AdjustmentgetHorizontalAdjustment()
TreePathgetPath()
AdjustmentgetVerticalAdjustment()
booleanisOfType(IconViewEvent.Type aType)
voidsetHorizontalAdjustment(Adjustment horizontalAdjustment)
voidsetPath(TreePath path)
voidsetVerticalAdjustment(Adjustment verticalAdjustment)

Constructor Detail

IconViewEvent

public IconViewEvent(Object source, EventType type)
Constructor for IconViewEvent.

Parameters: source type

Method Detail

getHorizontalAdjustment

public Adjustment getHorizontalAdjustment()

getPath

public TreePath getPath()

getVerticalAdjustment

public Adjustment getVerticalAdjustment()

isOfType

public boolean isOfType(IconViewEvent.Type aType)

Returns: True if the type of this event is the same as that stated.

setHorizontalAdjustment

public void setHorizontalAdjustment(Adjustment horizontalAdjustment)

setPath

public void setPath(TreePath path)

setVerticalAdjustment

public void setVerticalAdjustment(Adjustment verticalAdjustment)