public void applyProperty(final CPlatformWindow c, final Object value) { boolean fullscrenable = Boolean.parseBoolean(value.toString()); if (c.target instanceof RootPaneContainer && c.getPeer().getPeerType() == PeerType.FRAME) { if (c.isInFullScreen && !fullscrenable) { c.toggleFullScreen(); } } c.setStyleBits(FULLSCREENABLE, fullscrenable); }
public void applyProperty(final CPlatformWindow c, final Object value) { c.setStyleBits( HAS_SHADOW, value == null ? true : Boolean.parseBoolean(value.toString())); }
public void applyProperty(final CPlatformWindow c, final Object value) { c.setStyleBits(CLOSEABLE, Boolean.parseBoolean(value.toString())); }
public void applyProperty(final CPlatformWindow c, final Object value) { c.setStyleBits( DOCUMENT_MODIFIED, value == null ? false : Boolean.parseBoolean(value.toString())); }