Package jmri.jmrit.display
Class SensorIcon.SensorPopupUtil
- java.lang.Object
-
- jmri.jmrit.display.PositionablePopupUtil
-
- jmri.jmrit.display.SensorIcon.SensorPopupUtil
-
- Enclosing class:
- SensorIcon
class SensorIcon.SensorPopupUtil extends PositionablePopupUtil
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.display.PositionablePopupUtil
_parent, _propertiesUtil, _self, _textComponent, _textType, BACKGROUND_COLOR, bold, BORDER_COLOR, CENTRE, editAdditionalMenu, FONT_COLOR, HORIZONTAL, italic, JCOMPONENT, LABEL, LEFT, MIN_SIZE, RIGHT, TEXTFIELD, VERTICAL_DOWN, VERTICAL_UP, viewAdditionalMenu
-
-
Constructor Summary
Constructors Constructor Description SensorPopupUtil(Positionable parent, javax.swing.JComponent textComp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SensorIcon.SensorPopupUtil
clone(Positionable parent, javax.swing.JComponent textComp)
void
setBackgroundMenu(javax.swing.JPopupMenu popup)
void
setFixedTextMenu(javax.swing.JPopupMenu popup)
void
setTextBorderMenu(javax.swing.JPopupMenu popup)
void
setTextFontMenu(javax.swing.JPopupMenu popup)
void
setTextJustificationMenu(javax.swing.JPopupMenu popup)
void
setTextMarginMenu(javax.swing.JPopupMenu popup)
void
setTextOrientationMenu(javax.swing.JPopupMenu popup)
-
Methods inherited from class jmri.jmrit.display.PositionablePopupUtil
addEditPopUpMenu, addFontSizeMenuEntry, addJustificationMenuEntry, addOrientationMenuEntry, addViewPopUpMenu, copyItem, getBackground, getBorderColor, getBorderSize, getFixedHeight, getFixedWidth, getFont, getFontSize, getFontStyle, getForeground, getJustification, getMargin, getOrientation, getText, hasBackground, makeFontMenu, makeFontSizeMenu, makeFontStyleMenu, newStyleMenuItem, propertyUtil, setAdditionalEditPopUpMenu, setAdditionalViewPopUpMenu, setBackgroundColor, setBold, setBorder, setBorderColor, setBorderSize, setFixedHeight, setFixedSize, setFixedWidth, setFont, setFontSize, setFontStyle, setFontStyle, setForeground, setHasBackground, setHorizontalAlignment, setItalic, setJustification, setJustification, setMargin, setOrientation, setOrientation, setSuppressRecentColor, toString
-
-
-
-
Constructor Detail
-
SensorPopupUtil
SensorPopupUtil(Positionable parent, javax.swing.JComponent textComp)
-
-
Method Detail
-
clone
public SensorIcon.SensorPopupUtil clone(Positionable parent, javax.swing.JComponent textComp)
- Overrides:
clone
in classPositionablePopupUtil
-
setTextJustificationMenu
public void setTextJustificationMenu(javax.swing.JPopupMenu popup)
- Overrides:
setTextJustificationMenu
in classPositionablePopupUtil
-
setTextOrientationMenu
public void setTextOrientationMenu(javax.swing.JPopupMenu popup)
- Overrides:
setTextOrientationMenu
in classPositionablePopupUtil
-
setFixedTextMenu
public void setFixedTextMenu(javax.swing.JPopupMenu popup)
- Overrides:
setFixedTextMenu
in classPositionablePopupUtil
-
setTextMarginMenu
public void setTextMarginMenu(javax.swing.JPopupMenu popup)
- Overrides:
setTextMarginMenu
in classPositionablePopupUtil
-
setTextBorderMenu
public void setTextBorderMenu(javax.swing.JPopupMenu popup)
- Overrides:
setTextBorderMenu
in classPositionablePopupUtil
-
setTextFontMenu
public void setTextFontMenu(javax.swing.JPopupMenu popup)
- Overrides:
setTextFontMenu
in classPositionablePopupUtil
-
setBackgroundMenu
public void setBackgroundMenu(javax.swing.JPopupMenu popup)
- Overrides:
setBackgroundMenu
in classPositionablePopupUtil
-
-