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, notifyFrameComponentspublic static final java.lang.String FULL_SCREEN
public MacMainFrameDecorator(javax.swing.JFrame frame,
Disposable parentDisposable)
public boolean isInFullScreen()
isInFullScreen in class IdeFrameDecoratorpublic Promise<java.lang.Boolean> toggleFullScreen(boolean state)
IdeFrameDecoratortoggleFullScreen in class IdeFrameDecorator