org.japura.gui.model
Interface PriorityComboBoxModel
- All Superinterfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel
- All Known Implementing Classes:
- DefaultPriorityComboBoxModel
public interface PriorityComboBoxModel
- extends javax.swing.MutableComboBoxModel
Copyright (C) 2010 Carlos Eduardo Leite de Andrade
This library 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 Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
- Author:
- Carlos Eduardo Leite de Andrade
| Methods inherited from interface javax.swing.MutableComboBoxModel |
addElement, insertElementAt, removeElement, removeElementAt |
| Methods inherited from interface javax.swing.ComboBoxModel |
getSelectedItem, setSelectedItem |
| Methods inherited from interface javax.swing.ListModel |
addListDataListener, getElementAt, getSize, removeListDataListener |
addElement
void addElement(java.lang.Object item,
boolean priorityItem)
addToPriority
void addToPriority(java.lang.Object obj)
removeFromPriority
void removeFromPriority(java.lang.Object obj)
clearPriorities
void clearPriorities()
setPriorityItemsCapacity
void setPriorityItemsCapacity(int capacity)
setMinimalSizeForPriority
void setMinimalSizeForPriority(int size)
getMinimalSizeForPriority
int getMinimalSizeForPriority()
isPriorityAvailable
boolean isPriorityAvailable()
isPriorityItem
boolean isPriorityItem(java.lang.Object obj)
getPriorityItemsCapacity
int getPriorityItemsCapacity()
getPriorityItems
java.util.List<java.lang.Object> getPriorityItems()
getPriorityItemsSize
int getPriorityItemsSize()
addPriorityComboBoxListener
void addPriorityComboBoxListener(PriorityComboBoxListener listener)
removePriorityComboBoxListener
void removePriorityComboBoxListener(PriorityComboBoxListener listener)
setIncreasePriorityOnSelection
void setIncreasePriorityOnSelection(boolean enable)
isIncreasePriorityOnSelection
boolean isIncreasePriorityOnSelection()