public interface IManagerPanel
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCurrMgrIdxs()
Get the currently selected manager indices.
|
int |
getIndexForDisplay()
Gets the current index for display.
|
JSlider |
getItemSlider()
Gets the scroll bar for scrolling through the item numbers.
|
JRadioButton |
getJRadioButtonMainLeft()
Gets the radio button for the left manager list.
|
JRadioButton |
getJRadioButtonMainRight()
Gets the radio button for the right manager list.
|
JLabel |
getLabelItemNr()
Gets the label for the scroll bar.
|
JList |
getManagerListLeft()
Gets the GUI element for the left manager list.
|
JList |
getManagerListRight()
Gets the GUI element for the right manager list.
|
DefaultListModel |
getManagerModelLeft()
Gets the model of the left manager list.
|
DefaultListModel |
getManagerModelRight()
Gets the model of the right manager list.
|
boolean |
isCheckBoxAutoPreviewSelected()
Check if the auto preview check box is selected.
|
boolean |
isCheckBoxMainLeftSelected()
Check if the "hide/show thumbnails" check box of the left manager list is
selected.
|
boolean |
isCheckBoxMainRightSelected()
Check if the "hide/show thumbnails" check box of the right manager list
is selected.
|
boolean |
isCheckBoxTogglePreviewSelected()
Check if the toggle preview check box is selected.
|
boolean |
isRadioButtonMainLeftSelected()
Check if the left manager is selected.
|
boolean |
isRadioButtonMainRightSelected()
Check if the right manager is selected.
|
void |
resetTogglePreviewIfRunning()
Stops the toggling preview, if it is currently running.
|
void |
selectAll()
Selects all items in the currently activated list.
|
void |
setCurrMgrIdxs(int[] currMgrIdxs)
Set the currently selected manager indices.
|
void |
setIndexForDisplay(int indexForDisplay)
Sets the current index for display.
|
void |
setManagerForIndex(int index)
This is a convenient wrapper method for setting single items in a manager
list.
|
void |
setManagerForIndex(int[] indices,
int indexForDisplay)
Sets the manager's selection model according to the user's input on the
JList. |
void |
setRadioButtonMainLeft(boolean b)
De-/activates the left manager list.
|
void |
setRadioButtonMainRight(boolean b)
De-/activates the right manager list.
|
void |
startTogglePreviewIfSelected()
Start the toggling preview, if the check box is selected.
|
boolean isCheckBoxTogglePreviewSelected()
true, if so, false otherwiseboolean isCheckBoxAutoPreviewSelected()
true, if so, false otherwiseboolean isCheckBoxMainRightSelected()
true, if so, false otherwiseboolean isRadioButtonMainRightSelected()
true, if so, false otherwiseboolean isCheckBoxMainLeftSelected()
true, if so, false otherwiseboolean isRadioButtonMainLeftSelected()
true, if so, false otherwiseJRadioButton getJRadioButtonMainRight()
JRadioButtonJRadioButton getJRadioButtonMainLeft()
JRadioButtonJList getManagerListRight()
JListDefaultListModel getManagerModelRight()
DefaultListModelJList getManagerListLeft()
JListDefaultListModel getManagerModelLeft()
DefaultListModelJSlider getItemSlider()
JSlidervoid setManagerForIndex(int index)
throws NullPointerException,
Exception
index - the index to be selectedNullPointerExceptionExceptionvoid setManagerForIndex(int[] indices,
int indexForDisplay)
throws NullPointerException,
Exception
JList.indices - all selected indices from the JListindexForDisplay - the index which will be displayed in the item panelNullPointerExceptionExceptionvoid setCurrMgrIdxs(int[] currMgrIdxs)
currMgrIdxs - int[] getCurrMgrIdxs()
void resetTogglePreviewIfRunning()
void startTogglePreviewIfSelected()
int getIndexForDisplay()
void setIndexForDisplay(int indexForDisplay)
indexForDisplay - void setRadioButtonMainRight(boolean b)
b - true if the list is supposed to be active,
false otherwisevoid setRadioButtonMainLeft(boolean b)
b - true if the list is supposed to be active,
false otherwisevoid selectAll()
Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.