| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private Color[] | |
| private FontMetrics | |
| private final int | |
| private int | |
| private Font | |
| private XHorizontalScrollbar | |
| private boolean | |
| private final int | |
| private List | |
| private static final PlatformLogger | |
| private int | |
| private boolean | |
| private boolean | |
| private XWindow | |
| private final int | |
| private List | |
| private final int | |
| private XVerticalScrollbar | |
| private boolean | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | 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)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv static boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| public Component | |
| pack-priv XHorizontalScrollbar | |
| pack-priv String | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| private int | |
| pack-priv int | |
| pack-priv int[] | |
| pack-priv XVerticalScrollbar | |
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| private boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| private boolean | |
| pack-priv boolean | |
| pack-priv int | |
| private void | |
| public void | notifyValue(XScrollbar obj, int type, int v, boolean isAdjusting)
Implements sun.
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv int |
| BORDER_WIDTH | back to summary |
|---|---|
| private final int BORDER_WIDTH | |
| colors | back to summary |
|---|---|
| private Color[] colors | |
| fm | back to summary |
|---|---|
| private FontMetrics fm | |
| FOCUS_INSET | back to summary |
|---|---|
| private final int FOCUS_INSET | |
| focusedIndex | back to summary |
|---|---|
| private int focusedIndex | |
| font | back to summary |
|---|---|
| private Font font | |
| hsb | back to summary |
|---|---|
| private XHorizontalScrollbar hsb | |
| hsbVis | back to summary |
|---|---|
| private boolean hsbVis | |
| ITEM_MARGIN | back to summary |
|---|---|
| private final int ITEM_MARGIN | |
| items | back to summary |
|---|---|
| private List<String> items | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| maxVisItems | back to summary |
|---|---|
| private int maxVisItems | |
| mouseDraggedOutVertically | back to summary |
|---|---|
| private boolean mouseDraggedOutVertically | |
| multiSelect | back to summary |
|---|---|
| private boolean multiSelect | |
| peer | back to summary |
|---|---|
| private XWindow peer | |
| SCROLLBAR_WIDTH | back to summary |
|---|---|
| private final int SCROLLBAR_WIDTH | |
| selected | back to summary |
|---|---|
| private List<Integer> selected | |
| TEXT_SPACE | back to summary |
|---|---|
| private final int TEXT_SPACE | |
| vsb | back to summary |
|---|---|
| private XVerticalScrollbar vsb | |
| vsbVis | back to summary |
|---|---|
| private boolean vsbVis | |
| vsbVisibilityChanged | back to summary |
|---|---|
| private volatile boolean vsbVisibilityChanged | |
| ListHelper | back to summary |
|---|---|
| pack-priv 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) | |
| add | back to summary |
|---|---|
| pack-priv void add(String item) | |
| add | back to summary |
|---|---|
| pack-priv void add(String item, int index) | |
| checkVsbVisibilityChangedAndReset | back to summary |
|---|---|
| pack-priv boolean checkVsbVisibilityChangedAndReset() | |
| deselect | back to summary |
|---|---|
| pack-priv void deselect(int index) | |
| doWheelScroll | back to summary |
|---|---|
| pack-priv static boolean doWheelScroll(XVerticalScrollbar vsb, XHorizontalScrollbar hsb, MouseWheelEvent e) | |
| down | back to summary |
|---|---|
| pack-priv void down() | |
| end | back to summary |
|---|---|
| pack-priv void end() | |
| firstDisplayedIndex | back to summary |
|---|---|
| pack-priv int firstDisplayedIndex() | |
| getEventSource | back to summary |
|---|---|
| public Component getEventSource() Implements sun.
| |
| getHSB | back to summary |
|---|---|
| pack-priv XHorizontalScrollbar getHSB() | |
| getItem | back to summary |
|---|---|
| pack-priv String getItem(int index) | |
| getItemCount | back to summary |
|---|---|
| pack-priv int getItemCount() | |
| getItemHeight | back to summary |
|---|---|
| pack-priv int getItemHeight() | |
| getMaxItemWidth | back to summary |
|---|---|
| pack-priv int getMaxItemWidth() | |
| getNumItemsDisplayed | back to summary |
|---|---|
| private int getNumItemsDisplayed() | |
| getSelectedIndex | back to summary |
|---|---|
| pack-priv int getSelectedIndex() | |
| getSelectedIndexes | back to summary |
|---|---|
| pack-priv int[] getSelectedIndexes() | |
| getVSB | back to summary |
|---|---|
| pack-priv XVerticalScrollbar getVSB() | |
| handleVSBEvent | back to summary |
|---|---|
pack-priv void handleVSBEvent(MouseEvent e, Rectangle bounds, int x, int y)
| |
| home | back to summary |
|---|---|
| pack-priv void home() | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| isFocusedIndex | back to summary |
|---|---|
| private boolean isFocusedIndex(int index) | |
| isHSBVisible | back to summary |
|---|---|
| pack-priv boolean isHSBVisible() | |
| isInHorizSB | back to summary |
|---|---|
| pack-priv boolean isInHorizSB(Rectangle bounds, int x, int y) | |
| isInVertSB | back to summary |
|---|---|
| pack-priv boolean isInVertSB(Rectangle bounds, int x, int y) | |
| isItemSelected | back to summary |
|---|---|
| private boolean isItemSelected(int index) | |
| isVSBVisible | back to summary |
|---|---|
| pack-priv boolean isVSBVisible() | |
| lastDisplayedIndex | back to summary |
|---|---|
| pack-priv int lastDisplayedIndex() | |
| makeVisible | back to summary |
|---|---|
| private void makeVisible(int index) | |
| notifyValue | back to summary |
|---|---|
| public void notifyValue(XScrollbar obj, int type, int v, boolean isAdjusting) Implements sun.
| |
| pageDown | back to summary |
|---|---|
| pack-priv void pageDown() | |
| pageUp | back to summary |
|---|---|
| pack-priv void pageUp() | |
| paintAllItems | back to summary |
|---|---|
| pack-priv void paintAllItems(Graphics g, Color[] colors, Rectangle bounds) | |
| paintHSB | back to summary |
|---|---|
| private void paintHSB(Graphics g, Color[] colors, Rectangle bounds) | |
| paintItem | back to summary |
|---|---|
| private void paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused) | |
| paintItems | back to summary |
|---|---|
| pack-priv void paintItems(Graphics g, Color[] colors, Rectangle bounds) | |
| paintItems | back to summary |
|---|---|
| private void paintItems(Graphics g, Color[] colors, Rectangle bounds, int first, int last) | |
| paintVSB | back to summary |
|---|---|
| private void paintVSB(Graphics g, Color[] colors, Rectangle bounds) | |
| remove | back to summary |
|---|---|
| pack-priv void remove(String item) | |
| remove | back to summary |
|---|---|
| pack-priv void remove(int index) | |
| removeAll | back to summary |
|---|---|
| pack-priv void removeAll() | |
| repaintScrollbarRequest | back to summary |
|---|---|
| public void repaintScrollbarRequest(XScrollbar sb) Implements sun.
| |
| select | back to summary |
|---|---|
| pack-priv void select(int index) | |
| setFocusedIndex | back to summary |
|---|---|
| pack-priv void setFocusedIndex(int index) | |
| setFont | back to summary |
|---|---|
pack-priv void setFont(Font newFont)
| |
| setMultiSelect | back to summary |
|---|---|
| pack-priv void setMultiSelect(boolean ms) | |
| trackMouseDraggedScroll | back to summary |
|---|---|
| pack-priv void trackMouseDraggedScroll(int mouseX, int mouseY, int listWidth, int listHeight) | |
| trackMouseReleasedScroll | back to summary |
|---|---|
| pack-priv void trackMouseReleasedScroll() | |
| up | back to summary |
|---|---|
| pack-priv void up() | |
| updateColors | back to summary |
|---|---|
| pack-priv void updateColors(Color[] newColors) | |
| updateScrollbars | back to summary |
|---|---|
| private void updateScrollbars() | |
| y2index | back to summary |
|---|---|
| pack-priv int y2index(int y) | |