|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.BasicCheckBoxListUI
public class BasicCheckBoxListUI
A Windows L&F implementation of CheckBoxListUI.
CheckBoxList| Nested Class Summary | |
|---|---|
class |
BasicCheckBoxListUI.CheckBoxListMouseInputHandler
Mouse input, and focus handling for CheckBoxList. |
static class |
BasicCheckBoxListUI.ClearSelectionAction
Action to clear the selection in the list. |
static class |
BasicCheckBoxListUI.EndAction
Action to move the selection to the last item in the list. |
static class |
BasicCheckBoxListUI.HomeAction
Action to move the selection to the first item in the list. |
static class |
BasicCheckBoxListUI.IncrementLeadSelectionAction
Action to increment the selection in the list up/down a row at a type. |
static class |
BasicCheckBoxListUI.PageDownAction
Action to move down one page. |
static class |
BasicCheckBoxListUI.PageUpAction
Action to move up one page. |
static class |
BasicCheckBoxListUI.SelectAllAction
Action to select all the items in the list. |
| Field Summary | |
|---|---|
protected static int |
CHANGE_SELECTION
Used by IncrementLeadSelectionAction. |
protected static int |
MOVE_TO_SELECTION
Used by IncrementLeadSelectionAction. |
| Constructor Summary | |
|---|---|
BasicCheckBoxListUI()
|
|
| Method Summary | |
|---|---|
protected javax.swing.ActionMap |
createActionMap()
create new actionMap to handle key events for changing between rows and selecting rows |
protected javax.swing.event.MouseInputListener |
createMouseInputListener()
Creates a delegate that implements MouseInputListener. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent list)
Returns a new instance of BasicCheckBoxListUI. |
protected javax.swing.ActionMap |
getActionMap()
Get actionMap for CheckBoxList |
protected javax.swing.InputMap |
getInputMap(int condition)
Get inputMap for CheckBoxList |
protected void |
installKeyboardActions()
Register keyboard actions for the up and down arrow keys. |
| Field Detail |
|---|
protected static final int CHANGE_SELECTION
protected static final int MOVE_TO_SELECTION
| Constructor Detail |
|---|
public BasicCheckBoxListUI()
| Method Detail |
|---|
protected void installKeyboardActions()
installKeyboardActions in class javax.swing.plaf.basic.BasicListUIprotected javax.swing.InputMap getInputMap(int condition)
condition -
protected javax.swing.ActionMap getActionMap()
protected javax.swing.ActionMap createActionMap()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent list)
protected javax.swing.event.MouseInputListener createMouseInputListener()
class BasicCheckBoxListUI extends BasicListUI {
protected MouseInputListener createMouseInputListener() {
return new MyCheckBoxListMouseInputHandler();
}
public class MyCheckBoxListMouseInputHandler extends MouseInputHandler {
public void mouseMoved(MouseEvent e) {
// do some extra work when the mouse moves
super.mouseMoved(e);
}
}
}
createMouseInputListener in class javax.swing.plaf.basic.BasicListUI
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||