| java.lang.Object com.sun.midp.chameleon.CLayer com.sun.midp.chameleon.layers.ScrollIndLayer
All known Subclasses: com.sun.midp.chameleon.layers.ScrollBarLayer, com.sun.midp.chameleon.layers.ScrollArrowLayer,
ScrollIndLayer | abstract public class ScrollIndLayer extends CLayer (Code) | | A ScrollIndLayer is a region of the display used for showing scroll indicator
status either as arrows or bar.
|
SCROLL_LINEDOWN | final public static int SCROLL_LINEDOWN(Code) | | |
SCROLL_LINEUP | final public static int SCROLL_LINEUP(Code) | | |
SCROLL_NONE | final public static int SCROLL_NONE(Code) | | Scrollbar operation types
|
SCROLL_PAGEDOWN | final public static int SCROLL_PAGEDOWN(Code) | | |
SCROLL_PAGEUP | final public static int SCROLL_PAGEUP(Code) | | |
SCROLL_THUMBTRACK | final public static int SCROLL_THUMBTRACK(Code) | | |
alertMode | protected boolean alertMode(Code) | | True if special alert indicator bar should be drawn instead of
the regular one
|
listener | protected ScrollListener listener(Code) | | Scrolling listener.
This layer is notified if the scroll indicator is changed
|
scrollable | protected CLayer scrollable(Code) | | Scrollable layer
|
ScrollIndLayer | protected ScrollIndLayer(CLayer layer)(Code) | | Common constructor.
Parameters: layer - the scrollable controlling the scrolling layer |
ScrollIndLayer | public ScrollIndLayer(CLayer layer, ScrollListener listener)(Code) | | Additional constructor.
Parameters: layer - the scrollable controlling the scrolling layer Parameters: listener - the scrolling listener |
initialize | protected void initialize()(Code) | | Called by MIDPWindow to initialize this layer
|
setBounds | abstract public void setBounds()(Code) | | Calculate layer bounds depending on the scrollable
|
setListener | public boolean setListener(ScrollListener newListener)(Code) | | Set new listener
Parameters: newListener - new scrolling listener true if the listener is changed, false - otherwise |
setScrollable | public boolean setScrollable(CLayer layer)(Code) | | Set new scrollable
Parameters: layer - new scrollable controlling the scrolling layer true if the scrollable is changed, false - otherwise |
setVerticalScroll | abstract public void setVerticalScroll(int scrollPosition, int scrollProportion)(Code) | | Set the current vertical scroll position and proportion.
Parameters: scrollPosition - vertical scroll position. Parameters: scrollProportion - vertical scroll proportion. |
update | public void update(CLayer[] layers)(Code) | | Update bounds of layer
Parameters: layers - - current layer can be dependant on this parameter |
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)
|
|
|