Groovy Documentation

griffon.pivot.support.adapters
[Java] Class MenuAdapter

java.lang.Object
  griffon.pivot.support.adapters.MenuAdapter
All Implemented Interfaces:
GriffonPivotAdapter, org.apache.pivot.wtk.MenuListener

public class MenuAdapter
extends Object

Authors:
Andres Almiray


Field Summary
private Closure activeItemChanged

private Closure sectionInserted

private Closure sectionsRemoved

 
Constructor Summary
MenuAdapter()

 
Method Summary
void activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu$Item arg1)

Closure getActiveItemChanged()

Closure getSectionInserted()

Closure getSectionsRemoved()

void sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)

void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence arg2)

void setActiveItemChanged(Closure activeItemChanged)

void setSectionInserted(Closure sectionInserted)

void setSectionsRemoved(Closure sectionsRemoved)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

activeItemChanged

private Closure activeItemChanged


sectionInserted

private Closure sectionInserted


sectionsRemoved

private Closure sectionsRemoved


 
Constructor Detail

MenuAdapter

MenuAdapter()


 
Method Detail

activeItemChanged

public void activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu$Item arg1)


getActiveItemChanged

public Closure getActiveItemChanged()


getSectionInserted

public Closure getSectionInserted()


getSectionsRemoved

public Closure getSectionsRemoved()


sectionInserted

public void sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)


sectionsRemoved

public void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence arg2)


setActiveItemChanged

public void setActiveItemChanged(Closure activeItemChanged)


setSectionInserted

public void setSectionInserted(Closure sectionInserted)


setSectionsRemoved

public void setSectionsRemoved(Closure sectionsRemoved)


 

Groovy Documentation