Class AbstractHomepagePanelDescriptor
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.model.AbstractHomepagePanelDescriptor
-
- All Implemented Interfaces:
IHomepagePanelDescriptor
public abstract class AbstractHomepagePanelDescriptor extends java.lang.Object implements IHomepagePanelDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected booleaninitiallyExpandedprotected intorderprotected java.lang.StringpanelNameA unique identifying name for this panel.protected java.lang.StringtitleResourceKeyprotected booleanvisible
-
Constructor Summary
Constructors Constructor Description AbstractHomepagePanelDescriptor(java.lang.String panelName, java.lang.String titleResourceKey, int suggestedOrder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetHelpResourceKey()Return the resource key for the panel's help blurb.java.lang.StringgetHelpTopicId()Deprecated.intgetOrder()A relative ordering for this panel.java.lang.StringgetPanelName()A unique name for this panel.java.lang.StringgetTitleResourceKey()A resource key to use as the panel title.booleanisInitiallyExpanded()Should this panel be initially expanded or collapsed?booleanisVisible()Is this homepage visible?abstract org.apache.wicket.markup.html.panel.PanelnewPanel(java.lang.String id)Create the new panel to display.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.IHomepagePanelDescriptor
getSearchableItems
-
-
-
-
Field Detail
-
panelName
protected java.lang.String panelName
A unique identifying name for this panel. Used to track the panel as the user reorders them and chooses to not display some panels.
-
order
protected int order
-
titleResourceKey
protected java.lang.String titleResourceKey
-
initiallyExpanded
protected boolean initiallyExpanded
-
visible
protected boolean visible
-
-
Method Detail
-
getPanelName
public java.lang.String getPanelName()
Description copied from interface:IHomepagePanelDescriptorA unique name for this panel. Used as a key to store preferences for the user to override this panel's settings.- Specified by:
getPanelNamein interfaceIHomepagePanelDescriptor
-
getOrder
public int getOrder()
Description copied from interface:IHomepagePanelDescriptorA relative ordering for this panel. Lower numbers appear first.- Specified by:
getOrderin interfaceIHomepagePanelDescriptor
-
getTitleResourceKey
public java.lang.String getTitleResourceKey()
Description copied from interface:IHomepagePanelDescriptorA resource key to use as the panel title.- Specified by:
getTitleResourceKeyin interfaceIHomepagePanelDescriptor
-
isInitiallyExpanded
public boolean isInitiallyExpanded()
Description copied from interface:IHomepagePanelDescriptorShould this panel be initially expanded or collapsed?- Specified by:
isInitiallyExpandedin interfaceIHomepagePanelDescriptor
-
newPanel
public abstract org.apache.wicket.markup.html.panel.Panel newPanel(java.lang.String id)
Description copied from interface:IHomepagePanelDescriptorCreate the new panel to display.- Specified by:
newPanelin interfaceIHomepagePanelDescriptor
-
isVisible
public boolean isVisible()
Description copied from interface:IHomepagePanelDescriptorIs this homepage visible?- Specified by:
isVisiblein interfaceIHomepagePanelDescriptor
-
getHelpResourceKey
public java.lang.String getHelpResourceKey()
Description copied from interface:IHomepagePanelDescriptorReturn the resource key for the panel's help blurb.- Specified by:
getHelpResourceKeyin interfaceIHomepagePanelDescriptor
-
getHelpTopicId
@Deprecated public java.lang.String getHelpTopicId()
Deprecated.Description copied from interface:IHomepagePanelDescriptorReturn the name of the user manual topic to link to. The string ${HELP} will be replaced to a url to this help topic if found in the content pointed to by the help resource key. For example, the help blurb might be:This panel is great. You should use it lots. <a href="${HELP}">Learn more...</a>- Specified by:
getHelpTopicIdin interfaceIHomepagePanelDescriptor
-
-