Package jmri.jmrix.dccpp.swing.messages
Interface MessagesConfiguration
- All Known Implementing Classes:
MessagesPanel
public interface MessagesConfiguration
Settings for a DCC-EX Messages display, shared by the window and the panel icon.
-
Method Summary
Modifier and TypeMethodDescriptionintintgetMemo()booleanbooleanbooleanvoidsetAutoOpen(boolean autoOpen) voidsetExpirySeconds(int seconds) voidsetMaxLines(int lines) voidvoidsetMessageBackground(Color color) voidsetMessageForeground(Color color) voidsetMessagesSize(Dimension size) Fixed size as columns (width) and lines (height), or null to size to fit.voidsetPlaySound(boolean playSound) voidsetSoundFile(String path)
-
Method Details
-
setMemo
-
getMemo
-
isMemoEditable
boolean isMemoEditable() -
setExpirySeconds
-
getExpirySeconds
int getExpirySeconds() -
setMaxLines
-
getMaxLines
int getMaxLines() -
setAutoOpen
-
isAutoOpen
boolean isAutoOpen() -
setPlaySound
-
isPlaySound
boolean isPlaySound() -
setSoundFile
-
getSoundFile
-
setMessageForeground
-
getMessageForeground
-
setMessageBackground
-
getMessageBackground
-
setMessagesSize
Fixed size as columns (width) and lines (height), or null to size to fit. -
getMessagesSize
-