| java.lang.Object com.sun.midp.chameleon.CLayer com.sun.midp.chameleon.layers.PopupLayer com.sun.midp.chameleon.layers.ScrollablePopupLayer com.sun.midp.chameleon.layers.CascadeMenuLayer
Field Summary | |
protected Command[] | menuCmds | protected MenuLayer | menuLayer | protected int | scrollIndex The number of commands which have been scrolled off the
top of the menu, normally 0 unless there are more commands
than can fit on the menu. | protected int | selI |
menuCmds | protected Command[] menuCmds(Code) | | The list of Commands to display in the menu
|
menuLayer | protected MenuLayer menuLayer(Code) | | The ManuLayer to which this cascading menu belongs
|
scrollIndex | protected int scrollIndex(Code) | | The number of commands which have been scrolled off the
top of the menu, normally 0 unless there are more commands
than can fit on the menu.
|
selI | protected int selI(Code) | | The currently selected index in the menu
|
CascadeMenuLayer | public CascadeMenuLayer()(Code) | | |
alignMenu | protected void alignMenu()(Code) | | |
dismiss | public void dismiss()(Code) | | Cleans up the display when the cascaded menu is dismissed.
Removes the layer with the menu and requests the display to be
repainted.
|
initialize | protected void initialize()(Code) | | |
keyInput | public boolean keyInput(int type, int keyCode)(Code) | | |
pointerInput | public boolean pointerInput(int type, int x, int y)(Code) | | Handle input from a pen tap. Parameters describe
the type of pen event and the x,y location in the
layer at which the event occurred. Important : the
x,y location of the pen tap will already be translated
into the coordinate space of the layer.
Parameters: type - the type of pen event Parameters: x - the x coordinate of the event Parameters: y - the y coordinate of the event |
setAnchorPoint | public void setAnchorPoint(int x, int y)(Code) | | |
update | public void update(CLayer[] layers)(Code) | | Update bounds of layer
Parameters: layers - - current layer can be dependant on this parameter |
updateScrollIndicator | public void updateScrollIndicator()(Code) | | |
Methods inherited from com.sun.midp.chameleon.CLayer | public void addDirtyRegion()(Code)(Java Doc) public boolean addDirtyRegion(int x, int y, int w, int h)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) protected void cleanDirty()(Code)(Java Doc) protected void cleanDirtyRegions()(Code)(Java Doc) public boolean containsPoint(int x, int y)(Code)(Java Doc) public int[] getBounds()(Code)(Java Doc) public boolean handlePoint(int x, int y)(Code)(Java Doc) protected void initialize()(Code)(Java Doc) public boolean isDirty()(Code)(Java Doc) protected boolean isEmptyDirtyRegions()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyInput(int type, int code)(Code)(Java Doc) protected String layerID()(Code)(Java Doc) public boolean methodInput(String str)(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintBackground(Graphics g)(Code)(Java Doc) protected void paintBody(Graphics g)(Code)(Java Doc) public boolean pointerInput(int type, int x, int y)(Code)(Java Doc) public void relocateNotify(int[] oldBounds)(Code)(Java Doc) public void removeNotify(CWindow owner)(Code)(Java Doc) public void requestRepaint()(Code)(Java Doc) public void requestRepaint(int x, int y, int w, int h)(Code)(Java Doc) public void setBackground(Image bgImage, boolean tileBG, int bgColor)(Code)(Java Doc) public void setBackground(Image[] bgImages, int bgColor)(Code)(Java Doc) public void setBounds(int x, int y, int w, int h)(Code)(Java Doc) protected void setDirty()(Code)(Java Doc) protected void setDirtyButNotNotifyOwner()(Code)(Java Doc) public void setOpaque(boolean opaque)(Code)(Java Doc) public void setSupportsInput(boolean support)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc) public boolean supportsInput()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void update(CLayer[] mainLayers)(Code)(Java Doc)
|
|
|