Package jmri.jmrix.loconet.swing
Class LNCPSignalMastAddPane.SignalMastAddPaneProvider
- java.lang.Object
-
- jmri.jmrit.beantable.signalmast.SignalMastAddPane.SignalMastAddPaneProvider
-
- jmri.jmrix.loconet.swing.LNCPSignalMastAddPane.SignalMastAddPaneProvider
-
- All Implemented Interfaces:
JmriServiceProviderInterface
- Enclosing class:
- LNCPSignalMastAddPane
public static class LNCPSignalMastAddPane.SignalMastAddPaneProvider extends SignalMastAddPane.SignalMastAddPaneProvider
-
-
Constructor Summary
Constructors Constructor Description SignalMastAddPaneProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalMastAddPane
getNewPane()
java.lang.String
getPaneName()
boolean
isAvailable()
Is this pane available, given the current configuration of the program?-
Methods inherited from class jmri.jmrit.beantable.signalmast.SignalMastAddPane.SignalMastAddPaneProvider
getInstancesCollection, getInstancesMap, loadInstances
-
-
-
-
Constructor Detail
-
SignalMastAddPaneProvider
public SignalMastAddPaneProvider()
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
Is this pane available, given the current configuration of the program? In other words, are all necessary managers and other objects present? Requires a valid LocoNet connection- Overrides:
isAvailable
in classSignalMastAddPane.SignalMastAddPaneProvider
- Returns:
- always true.
-
getPaneName
@Nonnull public java.lang.String getPaneName()
- Specified by:
getPaneName
in classSignalMastAddPane.SignalMastAddPaneProvider
- Returns:
- Human-prefered name for type of signal mast, in local language
-
getNewPane
@Nonnull public SignalMastAddPane getNewPane()
- Specified by:
getNewPane
in classSignalMastAddPane.SignalMastAddPaneProvider
- Returns:
- A new instance of this SignalMastAddPane class
-
-