List<FadingTabConfiguration> leftTabs = getLeftFaderConfs();
leftFader = new FadingTabbedPanel(
leftTabs,
FadingTabbedPanel.Orientation.Up,
new FadingTabbedPanelListener() {
public void somethingSelected() {
leftSplit.unhide();
}
public void tabSelected(String name) {
Prefs.put(type + LeftFaderTabKey, name);
}
public void nothingSelected() {
leftSplit.hideLeft();
Prefs.put(type + LeftFaderTabKey, NoLabel);
}
}
);
List<FadingTabConfiguration> rightTabs = getRightFaderConfs();
rightFader = new FadingTabbedPanel(
rightTabs,
FadingTabbedPanel.Orientation.Down,
new FadingTabbedPanelListener() {
public void somethingSelected() {
rightSplit.unhide();
}
public void tabSelected(String name) {
Prefs.put(type + RightFaderTabKey, name);