| java.lang.Object com.sun.midp.chameleon.CLayer com.sun.midp.chameleon.layers.ScrollIndLayer com.sun.midp.chameleon.layers.ScrollBarLayer
ScrollBarLayer | public class ScrollBarLayer extends ScrollIndLayer (Code) | | A ScrollBarLayer is a region of the display used for showing the Form's
and Alert's scroll bar.
|
Inner Class :protected class ArrowTimerTask extends TimerTask | |
ARROW_HEIGHT | final protected static int ARROW_HEIGHT(Code) | | The height of arrow area. IMPL_NOTE: has to be moved to skin
|
ARROW_PRESS_DELAY | final protected static int ARROW_PRESS_DELAY(Code) | | delay for the arrow repaint to make arrow press visible for the user
|
DRAG_MIN | final protected static int DRAG_MIN(Code) | | The min number of pixels processed while thumb is dragging
|
THUMB_HEIGHT_MIN | final protected static int THUMB_HEIGHT_MIN(Code) | | The min height of the thumb
|
barHeight | int barHeight(Code) | | The bar height. Calculated from the scrolling layer height
|
position | protected int position(Code) | | last position value
|
proportion | protected int proportion(Code) | | last proportion value
|
ScrollBarLayer | public ScrollBarLayer(CLayer layer, ScrollListener listener)(Code) | | Construct a new ScrollBarLayer, visible, but transparent
|
ScrollBarLayer | public ScrollBarLayer(CLayer layer)(Code) | | Construct a new ScrollBarLayer, visible, but transparent
|
paintBody | protected void paintBody(Graphics g)(Code) | | Paint the scroll bar
Parameters: g - the graphics context to paint in |
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 |
setBounds | public void setBounds()(Code) | | Calculate layer bounds depending on the scrollable
|
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 | 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. |
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)
|
|
|