StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.comp.jawt.peer
Class MenuPeer

java.lang.Object
  |
  +--com.sun.star.comp.jawt.peer.MenuComponentPeer
        |
        +--com.sun.star.comp.jawt.peer.MenuItemPeer
              |
              +--com.sun.star.comp.jawt.peer.MenuPeer
All Implemented Interfaces:
java.awt.peer.MenuComponentPeer, java.awt.peer.MenuItemPeer, java.awt.peer.MenuPeer
Direct Known Subclasses:
com.sun.star.comp.jawt.peer.MenuBarPeer, com.sun.star.comp.jawt.peer.PopupMenuPeer

abstract synchronized class MenuPeer
extends com.sun.star.comp.jawt.peer.MenuItemPeer
implements java.awt.peer.MenuPeer


Field Summary
(package private)  int id
           
(package private)  int xMenuListenerRef
           
 
Fields inherited from class com.sun.star.comp.jawt.peer.MenuItemPeer
parents
 
Fields inherited from class com.sun.star.comp.jawt.peer.MenuComponentPeer
hashtable, idx, idx_count, target
 
Constructor Summary
protected MenuPeer(java.awt.MenuComponent mc)
           
 
Method Summary
 void addItem(java.awt.MenuItem mi)
           
 void addSeparator()
           
 void cb_activated(int i)
           
 void cb_deactivated(int i)
           
 void cb_highlighted(int i)
           
 void cb_selected(int i)
           
protected  void createPeer()
           
 void delItem(int i)
           
 void dispose()
           
(package private)  void enableItem(short s, boolean b)
           
 void finalize()
           
protected  short getItemCount()
           
(package private)  void setItemText(short s1, java.lang.String s2)
           
protected  void setProperties()
           
 
Methods inherited from class com.sun.star.comp.jawt.peer.MenuItemPeer
addParent, disable, enable, setEnabled, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.peer.MenuItemPeer
disable, enable, setEnabled, setLabel
 

Field Detail

id

int id

xMenuListenerRef

int xMenuListenerRef
Constructor Detail

MenuPeer

protected MenuPeer(java.awt.MenuComponent mc)
Method Detail

addItem

public void addItem(java.awt.MenuItem mi)
Specified by:
addItem in interface java.awt.peer.MenuPeer

addSeparator

public void addSeparator()
Specified by:
addSeparator in interface java.awt.peer.MenuPeer

cb_activated

public void cb_activated(int i)

cb_deactivated

public void cb_deactivated(int i)

cb_highlighted

public void cb_highlighted(int i)

cb_selected

public void cb_selected(int i)

createPeer

protected void createPeer()

delItem

public void delItem(int i)
Specified by:
delItem in interface java.awt.peer.MenuPeer

dispose

public void dispose()
Specified by:
dispose in interface java.awt.peer.MenuComponentPeer

enableItem

void enableItem(short s,
                boolean b)

finalize

public void finalize()

getItemCount

protected short getItemCount()

setItemText

void setItemText(short s1,
                 java.lang.String s2)

setProperties

protected void setProperties()

StarOffice 5.2 API
reverse engineered by classdoc