Package jmri.jmrit.beantable.beanedit
Class BeanEditItem
java.lang.Object
jmri.jmrit.beantable.beanedit.BeanEditItem
Hold the information for each bean panel in a structured manner.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) JComponent(package private) String(package private) String -
Constructor Summary
ConstructorsConstructorDescriptionBeanEditItem(JComponent component, String description, String help) Create the item structure to be added. -
Method Summary
-
Field Details
-
component
-
description
-
help
-
-
Constructor Details
-
BeanEditItem
Create the item structure to be added. If the component and description are null, then the help text will be displayed across the width of the panel.- Parameters:
component- Optional Contains the item to be editeddescription- Optional Contains the text for the label that will be to the left of the componenthelp- Optional Contains the help or hint text, that will be displayed to the right of the component
-
-
Method Details
-
getDescription
-
getHelp
-
getComponent
-