public final class MacMainFrameDecorator extends IdeFrameDecorator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FULL_SCREEN |
myFrame
Constructor and Description |
---|
MacMainFrameDecorator(javax.swing.JFrame frame,
Disposable parentDisposable) |
Modifier and Type | Method and Description |
---|---|
boolean |
isInFullScreen() |
Promise<java.lang.Boolean> |
toggleFullScreen(boolean state)
Returns applied state or rejected promise if cannot be applied.
|
decorate, isCustomDecorationActive, notifyFrameComponents
public static final java.lang.String FULL_SCREEN
public MacMainFrameDecorator(javax.swing.JFrame frame, Disposable parentDisposable)
public boolean isInFullScreen()
isInFullScreen
in class IdeFrameDecorator
public Promise<java.lang.Boolean> toggleFullScreen(boolean state)
IdeFrameDecorator
toggleFullScreen
in class IdeFrameDecorator