hsgame
接口 ListView

所有超级接口:
Control

public interface ListView
extends Control

ListView。

作者:
HsGame

方法摘要
 void add(ListItem item)
           
 void addRange(ListItem[] items)
           
 void addSelectedIndexChanged(java.lang.String selectedIndexChangedMethod)
           
 void clear()
           
 boolean contains(ListItem item)
           
 void fixedMove(float speed, java.lang.String moveOverEvent)
           
 int getSelectedIndex()
           
 ListItem getSrcListItem()
           
 void insert(int index, ListItem item)
           
 void relayout()
          重新布局
 void remove(ListItem item)
           
 void removeAt(int index)
           
 void removeMoveEvent()
           
 void removeSelectedIndexChanged(java.lang.String selectedIndexChangedMethod)
           
 void setCanClickUnenabledItem(boolean canClick)
          设置是否能点击UnabledItem。
 void setFixedMouseMove(float speed, java.lang.String moveOverEvent)
           
 void setSelectedIndex(int selectedIndex)
           
 void setSensitivity(int sensitivity)
          设置灵敏度。
 
从接口 hsgame.Control 继承的方法
addActivated, addAlpha, addBackColorChanged, addControl, addControlAdded, addControlRemoved, addDisabledMouseDown, addDisabledMouseMove, addDisabledMouseUp, addDisabledMouseUpDown, addDisabledMouseUpDownMove, addEnabledChanged, addFilledRectangle, addFrameFlagChecked, addFrameFlagChecked, addGotFocus, addInvalidated, addKeyDown, addKeyUp, addLeft, addLine, addLinearMove, addLoad, addLocationChanged, addLoseFocus, addMouseDown, addMouseDown, addMouseMove, addMouseMove, addMouseUp, addMouseUp, addMouseUpDown, addMouseUpDownMove, addMove, addPaint, addPaint, addParentChanged, addParticleEffect, addPathMove, addRectangle, addResize, addScale, addSizeChanged, addTimer, addTop, addUIAction, addUIAction, addUIAction, addUIAction, addUIPainter, addUIPainter, addUIPainter, addUIPainter, addVisibleChanged, clearShape, clearShapes, clearUIAction, clearUIActions, clearUIPainter, clearUIPainters, clone, contains, createWebViewClient, getBackColor, getBorderColor, getClientRectangle, getControl, getControlRectangleToScreen, getControls, getFontSize, getForeBorderColor, getForeColor, getHeight, getLeft, getLeftToForm, getLeftToScreen, getParent, getParentForm, getTag, getText, getTextAlign, getTop, getTopToForm, getTopToScreen, getWidth, insertControl, isChecked, isContainer, isCreated, isEnabled, isFlipX, isPaint, isVisible, removeActivated, removeAllControls, removeBackColorChanged, removeBasePaintEvent, removeControl, removeControl, removeControlAdded, removeControlRemoved, removeDisabledMouseDown, removeDisabledMouseMove, removeDisabledMouseUp, removeEnabledChanged, removeFilledRectangle, removeFrameFlagChecked, removeGotFocus, removeInvalidated, removeKeyDown, removeKeyUp, removeLine, removeLinearMove, removeLoad, removeLocationChanged, removeLoseFocus, removeMouseDown, removeMouseMove, removeMouseUp, removeMove, removePaint, removeParentChanged, removeParticleEffect, removePathMove, removeRectangle, removeResize, removeSizeChanged, removeTimer, removeUIAction, removeUIPainter, removeVisibleChanged, resetAsc, setAlpha, setAnchor, setBackColor, setBorderColor, setChecked, setDigitalText, setEnabled, setFlipX, setFontSize, setForeBorderColor, setForeColor, setHeight, setLeft, setPaint, setParent, setScale, setShader, setTag, setText, setText, setTextAlign, setTheme, setTop, setUIActionLoopCount, setUIPainterAction, setUIPainterLoopCount, setVisible, setWidth
 

方法详细信息

setSensitivity

void setSensitivity(int sensitivity)
设置灵敏度。

参数:
sensitivity -

setFixedMouseMove

void setFixedMouseMove(float speed,
                       java.lang.String moveOverEvent)

setCanClickUnenabledItem

void setCanClickUnenabledItem(boolean canClick)
设置是否能点击UnabledItem。

参数:
canClick -

fixedMove

void fixedMove(float speed,
               java.lang.String moveOverEvent)

removeMoveEvent

void removeMoveEvent()

add

void add(ListItem item)

addRange

void addRange(ListItem[] items)

insert

void insert(int index,
            ListItem item)

removeAt

void removeAt(int index)

remove

void remove(ListItem item)

clear

void clear()

contains

boolean contains(ListItem item)

addSelectedIndexChanged

void addSelectedIndexChanged(java.lang.String selectedIndexChangedMethod)

removeSelectedIndexChanged

void removeSelectedIndexChanged(java.lang.String selectedIndexChangedMethod)

relayout

void relayout()
重新布局


getSrcListItem

ListItem getSrcListItem()

getSelectedIndex

int getSelectedIndex()

setSelectedIndex

void setSelectedIndex(int selectedIndex)