StarOffice 5.2 API
reverse engineered by classdoc

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

java.lang.Object
  |
  +--com.sun.star.comp.jawt.peer.ComponentPeer
        |
        +--com.sun.star.comp.jawt.peer.ListPeer
All Implemented Interfaces:
java.awt.peer.ComponentPeer, java.awt.peer.ListPeer, sun.awt.UpdateClient, com.sun.star.comp.jawt.peer.WinArgs

public synchronized class ListPeer
extends com.sun.star.comp.jawt.peer.ComponentPeer
implements java.awt.peer.ListPeer


Field Summary
private  int actionListenerId
           
private  int itemListenerId
           
private  int listBoxId
           
 
Fields inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
POSSIZE_HEIGHT, POSSIZE_POS, POSSIZE_POSSIZE, POSSIZE_SIZE, POSSIZE_WIDTH, POSSIZE_X, POSSIZE_Y, VCL_BUTTONLEFT_MASK, VCL_BUTTONMIDDLE_MASK, VCL_BUTTONRIGHT_MASK, VCL_MOD1_MASK, VCL_MOD2_MASK, VCL_SHIFT_MASK, disposed, focusListenerId, font, fontMetricsImpl, instances, keyListenerId, listenersAdded, mouseListener, mouseMotionListenerId, paintListenerId, target, toolkit, updateX1, updateX2, updateY1, updateY2, windowListener, xDeviceRef, xInterfaceRef, xLayoutConstraintsRef, xVclWindowPeerRef, xWindowPeerRef, xWindowRef
 
Fields inherited from interface com.sun.star.comp.jawt.peer.WinArgs
WA_BORDER, WA_CENTER, WA_CLOSEABLE, WA_DEFBUTTON, WA_DEF_CANCEL, WA_DEF_NO, WA_DEF_OK, WA_DEF_RETRY, WA_DEF_YES, WA_DROPDOWN, WA_FULLSIZE, WA_GROUP, WA_HSCROLL, WA_LEFT, WA_MINSIZE, WA_MOVEABLE, WA_NONE, WA_OK, WA_OK_CANCEL, WA_OPTIMUMSIZE, WA_PASSWORD, WA_READONLY, WA_RETRY_CANCEL, WA_RIGHT, WA_SHOW, WA_SIZEABLE, WA_SORT, WA_SPIN, WA_VSCROLL, WA_YES_NO, WA_YES_NO_CANCEL
 
Constructor Summary
protected ListPeer(com.sun.star.comp.jawt.peer.Toolkit t)
           
(package private) ListPeer(java.awt.List l, com.sun.star.comp.jawt.peer.Toolkit t)
           
 
Method Summary
(package private)  void actionPerformed(java.lang.String s)
           
 void add(java.lang.String s, int i)
           
 void addItem(java.lang.String s, int i)
           
protected  void addListener()
           
 void clear()
           
protected  void createInterface()
           
protected  void createListener()
           
 void delItems(int i1, int i2)
           
protected  void deleteListener()
           
 void deselect(int i)
           
protected  void freeInterface()
           
 java.awt.Dimension getMinimumSize(int i)
           
 java.awt.Dimension getPreferredSize(int i)
           
 int[] getSelectedIndexes()
           
protected  boolean inherit()
           
(package private)  void itemStateChanged(boolean b, int i)
           
 void makeVisible(int i)
           
 java.awt.Dimension minimumSize(int i)
           
 java.awt.Dimension preferredSize(int i)
           
 void removeAll()
           
protected  void removeListener()
           
 void select(int i)
           
 void setMultipleMode(boolean b)
           
 void setMultipleSelections(boolean b)
           
protected  void setProperties()
           
 
Methods inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
addRepaintArea, cb_focusGained, cb_focusLost, cb_keyPressed, cb_keyReleased, cb_keyTyped, cb_mouseDragged, cb_mouseMoved, cb_repaint, checkImage, createImage, createImage, createWindowDescriptor, disable, dispose, enable, finalize, getBounds, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getMinimumSize, getPreferredSize, getTarget, getToolkit, getXDeviceRef, getXInterfaceRef, getXVclWindowPeerRef, getXWindowPeerRef, getXWindowRef, handleEvent, hide, init, invalidate, isFocusTraversable, mapModifiers, minimumSize, paint, postEvent, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setVisible, show, toString, update, updateClient
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.peer.ComponentPeer
checkImage, createImage, createImage, disable, dispose, enable, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, hide, isFocusTraversable, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setVisible, show
 

Field Detail

actionListenerId

private int actionListenerId

itemListenerId

private int itemListenerId

listBoxId

private int listBoxId
Constructor Detail

ListPeer

protected ListPeer(com.sun.star.comp.jawt.peer.Toolkit t)

ListPeer

ListPeer(java.awt.List l,
         com.sun.star.comp.jawt.peer.Toolkit t)
Method Detail

actionPerformed

void actionPerformed(java.lang.String s)

add

public void add(java.lang.String s,
                int i)
Specified by:
add in interface java.awt.peer.ListPeer

addItem

public void addItem(java.lang.String s,
                    int i)
Specified by:
addItem in interface java.awt.peer.ListPeer

addListener

protected void addListener()

clear

public void clear()
Specified by:
clear in interface java.awt.peer.ListPeer

createInterface

protected void createInterface()

createListener

protected void createListener()

delItems

public void delItems(int i1,
                     int i2)
Specified by:
delItems in interface java.awt.peer.ListPeer

deleteListener

protected void deleteListener()

deselect

public void deselect(int i)
Specified by:
deselect in interface java.awt.peer.ListPeer

freeInterface

protected void freeInterface()

getMinimumSize

public java.awt.Dimension getMinimumSize(int i)
Specified by:
getMinimumSize in interface java.awt.peer.ListPeer

getPreferredSize

public java.awt.Dimension getPreferredSize(int i)
Specified by:
getPreferredSize in interface java.awt.peer.ListPeer

getSelectedIndexes

public int[] getSelectedIndexes()
Specified by:
getSelectedIndexes in interface java.awt.peer.ListPeer

inherit

protected boolean inherit()

itemStateChanged

void itemStateChanged(boolean b,
                      int i)

makeVisible

public void makeVisible(int i)
Specified by:
makeVisible in interface java.awt.peer.ListPeer

minimumSize

public java.awt.Dimension minimumSize(int i)
Specified by:
minimumSize in interface java.awt.peer.ListPeer

preferredSize

public java.awt.Dimension preferredSize(int i)
Specified by:
preferredSize in interface java.awt.peer.ListPeer

removeAll

public void removeAll()
Specified by:
removeAll in interface java.awt.peer.ListPeer

removeListener

protected void removeListener()

select

public void select(int i)
Specified by:
select in interface java.awt.peer.ListPeer

setMultipleMode

public void setMultipleMode(boolean b)
Specified by:
setMultipleMode in interface java.awt.peer.ListPeer

setMultipleSelections

public void setMultipleSelections(boolean b)
Specified by:
setMultipleSelections in interface java.awt.peer.ListPeer

setProperties

protected void setProperties()

StarOffice 5.2 API
reverse engineered by classdoc