Package com.openfin.desktop.platform
Class PlatformViewOptions
java.lang.Object
com.openfin.desktop.JsonBean
com.openfin.desktop.platform.PlatformViewOptions
- Direct Known Subclasses:
LayoutContentItemStateOptions
public class PlatformViewOptions extends JsonBean
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlatformViewOptions()PlatformViewOptions(org.json.JSONObject json) -
Method Summary
Modifier and Type Method Description AutoResizeOptionsgetAutoResizeOptions()java.lang.StringgetBackgroundColor()java.awt.RectanglegetBounds()ContextMenuSettingsgetContextMenuSettings()java.lang.ObjectgetCustomContext()java.lang.ObjectgetCustomData()org.json.JSONObjectgetJson()Gets the underlying JSONObjectjava.lang.StringgetName()java.lang.StringgetProcessAffinity()IdentitygetTarget()java.lang.StringgetUrl()voidsetAutoResizeOptions(AutoResizeOptions options)voidsetBackgroundColor(java.lang.String backgroundColor)voidsetBounds(int x, int y, int width, int height)voidsetBounds(java.awt.Rectangle rect)voidsetContextMenuSettings(ContextMenuSettings contextMenuSettings)voidsetCustomContext(java.lang.Object customContext)voidsetCustomData(java.lang.Object customData)voidsetName(java.lang.String name)voidsetProcessAffinity(java.lang.String processAffinity)voidsetUrl(java.lang.String url)Methods inherited from class com.openfin.desktop.JsonBean
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
-
Constructor Details
-
PlatformViewOptions
public PlatformViewOptions() -
PlatformViewOptions
public PlatformViewOptions(org.json.JSONObject json)
-
-
Method Details
-
getAutoResizeOptions
-
setAutoResizeOptions
-
getContextMenuSettings
-
setContextMenuSettings
-
getBackgroundColor
public java.lang.String getBackgroundColor() -
setBackgroundColor
public void setBackgroundColor(java.lang.String backgroundColor) -
getBounds
public java.awt.Rectangle getBounds() -
setBounds
public void setBounds(java.awt.Rectangle rect) -
setBounds
public void setBounds(int x, int y, int width, int height) -
setCustomData
public void setCustomData(java.lang.Object customData) -
getCustomContext
public java.lang.Object getCustomContext() -
setCustomContext
public void setCustomContext(java.lang.Object customContext) -
getCustomData
public java.lang.Object getCustomData() -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getUrl
public java.lang.String getUrl() -
setUrl
public void setUrl(java.lang.String url) -
getProcessAffinity
public java.lang.String getProcessAffinity() -
setProcessAffinity
public void setProcessAffinity(java.lang.String processAffinity) -
getTarget
-
getJson
public org.json.JSONObject getJson()Description copied from class:JsonBeanGets the underlying JSONObject
-