Package jmri.jmrit.display
Class PositionablePropertiesUtil.TextDetails
- java.lang.Object
-
- jmri.jmrit.display.PositionablePropertiesUtil.TextDetails
-
- Enclosing class:
- PositionablePropertiesUtil
static class PositionablePropertiesUtil.TextDetails extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.Color
background
(package private) java.lang.String
description
(package private) javax.swing.JLabel
example
(package private) java.awt.Color
foreground
(package private) java.awt.Color
origBackground
(package private) java.awt.Color
origForeground
(package private) java.lang.String
origText
(package private) java.lang.String
text
-
Constructor Summary
Constructors Constructor Description TextDetails(java.lang.String desc, java.lang.String txt, java.awt.Color fore, java.awt.Color back)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.awt.Color
getBackground()
(package private) java.lang.String
getDescription()
(package private) java.awt.Color
getForeground()
(package private) javax.swing.JLabel
getLabel()
(package private) java.awt.Color
getOrigBackground()
(package private) java.awt.Color
getOrigForeground()
(package private) java.lang.String
getOrigText()
(package private) java.lang.String
getText()
(package private) void
setBackground(java.awt.Color back)
(package private) void
setForeground(java.awt.Color fore)
(package private) void
setText(java.lang.String txt)
-
-
-
Field Detail
-
foreground
java.awt.Color foreground
-
background
java.awt.Color background
-
origForeground
java.awt.Color origForeground
-
origBackground
java.awt.Color origBackground
-
origText
java.lang.String origText
-
text
java.lang.String text
-
example
javax.swing.JLabel example
-
description
java.lang.String description
-
-
Constructor Detail
-
TextDetails
TextDetails(java.lang.String desc, java.lang.String txt, java.awt.Color fore, java.awt.Color back)
-
-
Method Detail
-
getForeground
java.awt.Color getForeground()
-
getBackground
java.awt.Color getBackground()
-
getText
java.lang.String getText()
-
getOrigForeground
java.awt.Color getOrigForeground()
-
getOrigBackground
java.awt.Color getOrigBackground()
-
getOrigText
java.lang.String getOrigText()
-
getDescription
java.lang.String getDescription()
-
setForeground
void setForeground(java.awt.Color fore)
-
setBackground
void setBackground(java.awt.Color back)
-
setText
void setText(java.lang.String txt)
-
getLabel
javax.swing.JLabel getLabel()
-
-