public interface StyleContext
Style
instance receives a new
StyleContext
instance with a call to StyleContextReceiver.setStyleContext(StyleContext)
. That method is called
before Style.createComponent()
.Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getContentComponent()
Returns the UI component of the current
Screen as returned by
Screen.createComponent() . |
java.lang.String |
getSubTitle()
The subtitle of the screen as returned by
Screen.getSubTitle() . |
java.lang.String |
getTitle()
The title of the screen as returned by
Screen.getTitle() . |
javax.swing.JComponent getContentComponent()
Screen
as returned by
Screen.createComponent()
. It is the responsibility of the style to embed this component
when Style.createComponent()
is called.java.lang.String getTitle()
Screen.getTitle()
. It is the responsibility of the style to
display this title when Style.createComponent()
is called.java.lang.String getSubTitle()
Screen.getSubTitle()
. It is the responsibility of the style to
display this subtitle when Style.createComponent()
is called.