Class DefaultConfigTab
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.web.models.DefaultConfigTab
 
- 
- All Implemented Interfaces:
- IConfigTab,- INamedTab,- java.io.Serializable,- org.apache.wicket.extensions.markup.html.tabs.ITab,- org.apache.wicket.util.io.IClusterable
 - Direct Known Subclasses:
- TaskPage.TaskPageTab
 
 public class DefaultConfigTab extends java.lang.Object implements IConfigTab Default implementation of IConfigPanelTab. Expects a Class of the config panel to instantiate, which MUST have a public constructor which accepts either no arguments or a single argument: an IConfigPage- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDefaultConfigTab.BuilderBuilder, just for fun, because who can deal with a 3-arg constructor!?
 - 
Constructor SummaryConstructors Constructor Description DefaultConfigTab(ConfigCategory category, java.lang.String name, java.lang.String titleKey, java.lang.Class<? extends ConfigPanel> panelClass)DefaultConfigTab(org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> menuLocation, java.lang.String titleKey, java.lang.Class<? extends ConfigPanel> panelClass)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultConfigTab.Builderbuilder()java.lang.StringgetCategoryName()Get the non-localized, brief (id) of the category this tab belongs to.org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>getMenuLocation()ConfigPanelgetPanel(IConfigPage configPage)Create the config panel that this tab represents.java.lang.Iterable<java.lang.String>getSearchTerms()Get a list of terms that when searched for should cause this tab to be highlighted.java.lang.StringgetTabName()Get the non-localized, brief name of the tab.org.apache.wicket.model.IModel<java.lang.String>getTitle()booleanisVisible()voidsetSearchTerms(java.util.List<java.lang.String> terms)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.gateway.web.models.IConfigTabgetPanel
 
- 
 
- 
- 
- 
Constructor Detail- 
DefaultConfigTabpublic DefaultConfigTab(ConfigCategory category, java.lang.String name, java.lang.String titleKey, java.lang.Class<? extends ConfigPanel> panelClass) 
 - 
DefaultConfigTabpublic DefaultConfigTab(org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> menuLocation, java.lang.String titleKey, java.lang.Class<? extends ConfigPanel> panelClass)
 
- 
 - 
Method Detail- 
builderpublic static DefaultConfigTab.Builder builder() 
 - 
getSearchTermspublic java.lang.Iterable<java.lang.String> getSearchTerms() Description copied from interface:INamedTabGet a list of terms that when searched for should cause this tab to be highlighted. The tab's name will automatically be a search term, so it does not need to be in this list.- Specified by:
- getSearchTermsin interface- INamedTab
 
 - 
setSearchTermspublic void setSearchTerms(java.util.List<java.lang.String> terms) 
 - 
getTabNamepublic java.lang.String getTabName() Description copied from interface:INamedTabGet the non-localized, brief name of the tab. Should be URL friendly for bookmark-able navigation- Specified by:
- getTabNamein interface- INamedTab
 
 - 
getCategoryNamepublic java.lang.String getCategoryName() Description copied from interface:INamedTabGet the non-localized, brief (id) of the category this tab belongs to.- Specified by:
- getCategoryNamein interface- INamedTab
 
 - 
getMenuLocationpublic org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> getMenuLocation() - Specified by:
- getMenuLocationin interface- IConfigTab
 
 - 
getTitlepublic org.apache.wicket.model.IModel<java.lang.String> getTitle() - Specified by:
- getTitlein interface- org.apache.wicket.extensions.markup.html.tabs.ITab
 
 - 
getPanelpublic ConfigPanel getPanel(IConfigPage configPage) Description copied from interface:IConfigTabCreate the config panel that this tab represents. Remember, all ConfigPanel's must have a wicket id of "config-contents"- Specified by:
- getPanelin interface- IConfigTab
- Parameters:
- configPage- The parent config page that this config panel will be a part of.
- Returns:
- the new ConfigPanel instance.
 
 - 
isVisiblepublic boolean isVisible() - Specified by:
- isVisiblein interface- org.apache.wicket.extensions.markup.html.tabs.ITab
 
 
- 
 
-