io.ultreia.java4all.jaxx.widgets.list.DoubleList.jcss Maven / Gradle / Ivy
/*
* #%L
* JAXX :: Widgets
* %%
* Copyright (C) 2008 - 2024 Code Lutin, Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
.enabled {
enabled:{isEnabled()};
}
.filterable {
visible: {isFilterable()};
}
JToolBar {
focusable:false;
floatable:false;
borderPainted:false;
}
JButton {
focusable:false;
borderPainted:false;
}
JScrollPane {
horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED};
verticalScrollBarPolicy:{JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED};
}
#filterFieldLabel {
actionIcon: "doublelist-filter";
}
#universeList {
model:{model.getUniverseModel()};
}
#selectedList {
model:{model.getSelectedModel()};
componentPopupMenu:{handler.getSelectedListPopup(isShowSelectPopupEnabled())};
}
#popup {
border:{new TitledBorder(t("beandoublelist.popup.title") + " ")};
}
#popupSortLabel {
actionIcon:"doublelist-sort";
text:"bean.sort.label";
}
#sortUp {
buttonGroup:"sortGroup";
value:{false};
actionIcon:"doublelist-sort-up";
text:"bean.sort.up";
selected:{!isReverseSort()};
}
#sortDown {
buttonGroup:"sortGroup";
value:{true};
actionIcon:"doublelist-sort-down";
text:"bean.sort.down";
selected:{isReverseSort()};
}
#selectedListMoveUpAction {
enabled:{model.isSelectedUpEnabled()};
}
#selectedListMoveDownAction {
enabled:{model.isSelectedDownEnabled()};
}
#addAction {
enabled:{model.isAddEnabled()};
}
#removeAction {
enabled:{model.isRemoveEnabled()};
}
#selectedListRemoveAction {
text:"bean.action.selected.remove";
enabled:{model.isRemoveEnabled()};
}
#reset {
visible:{isShowReset()};
}
#displayDecorator {
visible:{isShowDecorator()};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy