| java.lang.Object sun.awt.X11.ListHelper
Constructor Summary | |
public | ListHelper(XWindow peer, Color[] colors, int initialSize, boolean multiSelect, boolean scrollVert, boolean scrollHoriz, Font font, int maxVisItems, int SPACE, int MARGIN, int BORDER, int SCROLLBAR) |
Method Summary | |
public void | add(String item) | public void | add(String item, int index) | public boolean | checkVsbVisibilityChangedAndReset() | public void | deselect(int index) | static boolean | doWheelScroll(XVerticalScrollbar vsb, XHorizontalScrollbar hsb, MouseWheelEvent e) | public void | down() | public void | end() | public int | firstDisplayedIndex() | public Component | getEventSource() | public XHorizontalScrollbar | getHSB() | public String | getItem(int index) | public int | getItemCount() | int | getItemHeight() | public int | getMaxItemWidth() | public int | getNumItemsDisplayed() | public int | getSelectedIndex() | int[] | getSelectedIndexes() | public XVerticalScrollbar | getVSB() | public void | handleVSBEvent(MouseEvent e, Rectangle bounds, int x, int y) | public void | home() | public boolean | isEmpty() | public boolean | isFocusedIndex(int index) | public boolean | isHSBVisible() | public boolean | isInHorizSB(Rectangle bounds, int x, int y) | public boolean | isInVertSB(Rectangle bounds, int x, int y) | boolean | isItemSelected(int index) | public boolean | isVSBVisible() | public int | lastDisplayedIndex() | public void | makeVisible(int index) | public void | notifyValue(XScrollbar obj, int type, int v, boolean isAdjusting) | public void | pageDown() | public void | pageUp() | public void | paintAllItems(Graphics g, Color[] colors, Rectangle bounds) | public void | paintHSB(Graphics g, Color colors, Rectangle bounds) | public void | paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused) | public void | paintItems(Graphics g, Color[] colors, Rectangle bounds) | public void | paintItems(Graphics g, Color[] colors, Rectangle bounds, int first, int last) | public void | paintVSB(Graphics g, Color colors, Rectangle bounds) | public void | remove(String item) | public void | remove(int index) | public void | removeAll() | public void | repaintScrollbarRequest(XScrollbar sb) | public void | select(int index) | public void | setFocusedIndex(int index) | public void | setFont(Font newFont) | public void | setMultiSelect(boolean ms) | void | trackMouseDraggedScroll(int mouseX, int mouseY, int listWidth, int listHeight) | void | trackMouseReleasedScroll() | public void | up() | public void | updateColors(Color[] newColors) | void | updateScrollbars() | public int | y2index(int y) |
mouseDraggedOutVertically | boolean mouseDraggedOutVertically(Code) | | |
ListHelper | public ListHelper(XWindow peer, Color[] colors, int initialSize, boolean multiSelect, boolean scrollVert, boolean scrollHoriz, Font font, int maxVisItems, int SPACE, int MARGIN, int BORDER, int SCROLLBAR)(Code) | | |
checkVsbVisibilityChangedAndReset | public boolean checkVsbVisibilityChangedAndReset()(Code) | | |
deselect | public void deselect(int index)(Code) | | |
firstDisplayedIndex | public int firstDisplayedIndex()(Code) | | |
getItemCount | public int getItemCount()(Code) | | |
getItemHeight | int getItemHeight()(Code) | | |
getMaxItemWidth | public int getMaxItemWidth()(Code) | | |
getNumItemsDisplayed | public int getNumItemsDisplayed()(Code) | | |
getSelectedIndex | public int getSelectedIndex()(Code) | | |
getSelectedIndexes | int[] getSelectedIndexes()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
isFocusedIndex | public boolean isFocusedIndex(int index)(Code) | | |
isHSBVisible | public boolean isHSBVisible()(Code) | | |
isInHorizSB | public boolean isInHorizSB(Rectangle bounds, int x, int y)(Code) | | |
isItemSelected | boolean isItemSelected(int index)(Code) | | |
isVSBVisible | public boolean isVSBVisible()(Code) | | |
lastDisplayedIndex | public int lastDisplayedIndex()(Code) | | |
makeVisible | public void makeVisible(int index)(Code) | | |
notifyValue | public void notifyValue(XScrollbar obj, int type, int v, boolean isAdjusting)(Code) | | |
pageDown | public void pageDown()(Code) | | |
pageUp | public void pageUp()(Code) | | |
paintItem | public void paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused)(Code) | | |
remove | public void remove(int index)(Code) | | |
removeAll | public void removeAll()(Code) | | |
select | public void select(int index)(Code) | | |
setFocusedIndex | public void setFocusedIndex(int index)(Code) | | |
setMultiSelect | public void setMultiSelect(boolean ms)(Code) | | |
trackMouseDraggedScroll | void trackMouseDraggedScroll(int mouseX, int mouseY, int listWidth, int listHeight)(Code) | | |
trackMouseReleasedScroll | void trackMouseReleasedScroll()(Code) | | |
updateColors | public void updateColors(Color[] newColors)(Code) | | |
updateScrollbars | void updateScrollbars()(Code) | | |
y2index | public int y2index(int y)(Code) | | |
|
|