public class DHXUnitsView extends DHXView
Constructor and Description |
---|
DHXUnitsView(java.lang.String name,
java.lang.String property)
Create new instance of DHXUnitsView class
|
DHXUnitsView(java.lang.String name,
java.lang.String property,
java.lang.String label)
Create new instance of DHXUnitsView class
|
Modifier and Type | Method and Description |
---|---|
void |
addOption(DHXUnit unit)
Add unit to UnitView
|
java.util.HashMap<java.lang.String,DHXFileType> |
getJS()
Get js files which is reqired by current configuration
|
java.lang.String |
getProperty()
The name of event property, which holds info for x-position
|
java.lang.String |
getServerListLink() |
java.lang.Integer |
getSize()
Defines how much units must be shown on the screen
|
java.lang.Boolean |
getSkipIncorrect()
Skip events which belongs to none of the defined units
|
java.lang.Integer |
getStep()
Defines scroll step
|
java.lang.String |
render(java.lang.String name)
Render settings
|
void |
setProperty(java.lang.String value)
The name of event property, which holds info for x-position
|
void |
setServerListLink(java.lang.String serverListLink)
Allows to explicitly specify server list for the control
|
void |
setSize(java.lang.Integer value)
Defines how much units must be shown on the screen
|
void |
setSkipIncorrect(java.lang.Boolean value)
Skip events which belongs to none of the defined units
|
void |
setStep(java.lang.Integer value)
Defines scroll step
|
clearIgnore, getFilter, getIgnoreUnits, getLabel, getName, getTabClass, getTabPosition, getTabStyle, getTabWidth, getViewType, ignoreUnits, ignoreUnits, renderIgnore, renderLabel, renderTab, renderTab, setFilter, setLabel, setName, setTabClass, setTabPosition, setTabStyle, setTabWidth
get, getBool, getCSS, getDate, getHiddenProperties, getInt, getObject, getProperties, getRaw, getVisibleProperties, set
public DHXUnitsView(java.lang.String name, java.lang.String property)
name
- View nameproperty
- The name of event property, which holds info for x-positionpublic DHXUnitsView(java.lang.String name, java.lang.String property, java.lang.String label)
name
- View nameproperty
- The name of event property, which holds info for x-positionlabel
- Label of unit viewpublic java.lang.String getServerListLink()
public void setServerListLink(java.lang.String serverListLink)
serverListLink
- public void addOption(DHXUnit unit)
unit
- new Unitpublic java.lang.String getProperty()
public void setProperty(java.lang.String value)
value
- public java.lang.Integer getSize()
public void setSize(java.lang.Integer value)
value
- public java.lang.Integer getStep()
public void setStep(java.lang.Integer value)
value
- public java.lang.Boolean getSkipIncorrect()
public void setSkipIncorrect(java.lang.Boolean value)
value
- public java.util.HashMap<java.lang.String,DHXFileType> getJS()
DHXPlannerControlsItem
getJS
in class DHXPlannerControlsItem