Class ItemComponent
- java.lang.Object
-
- io.ultreia.java4all.i18n.editor.ui.ItemComponent
-
public class ItemComponent extends Object
Created by tchemit on 09/07/17.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Itemget(String itemKey)ItemComponentTabgetCurrentTab()JToggleButtongetFilter()intgetItemCount()org.jdesktop.swingx.JXListgetList()JComponentgetNavigationContent()ItemUIgetPanel()JTextFieldgetSearchField()intgetSelectedIndex()Collection<ItemComponentTab>getTabs()protected StringgetTitle()intgetTotalFilteredCount()intgetTotalItemCount()booleanisEmpty()booleanisFirst()booleanisLast()booleanisNotEmpty()voidsetSelectedIndex(int selectedIndex)voidtoggleFilter()voidupdateListFromFilter(boolean add)voidupdateListFromUserFilter(String text)protected voidupdateTabTitle()
-
-
-
Method Detail
-
getTitle
protected String getTitle()
-
getSearchField
public JTextField getSearchField()
-
getFilter
public JToggleButton getFilter()
-
toggleFilter
public void toggleFilter()
-
updateListFromUserFilter
public void updateListFromUserFilter(String text)
-
updateTabTitle
protected void updateTabTitle()
-
isEmpty
public boolean isEmpty()
-
isNotEmpty
public boolean isNotEmpty()
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
getPanel
public ItemUI getPanel()
-
getList
public org.jdesktop.swingx.JXList getList()
-
getSelectedIndex
public int getSelectedIndex()
-
setSelectedIndex
public void setSelectedIndex(int selectedIndex)
-
getItemCount
public int getItemCount()
-
getTotalFilteredCount
public int getTotalFilteredCount()
-
getTotalItemCount
public int getTotalItemCount()
-
getTabs
public Collection<ItemComponentTab> getTabs()
-
getCurrentTab
public ItemComponentTab getCurrentTab()
-
getNavigationContent
public JComponent getNavigationContent()
-
updateListFromFilter
public void updateListFromFilter(boolean add)
-
-