public class Selection
extends java.lang.Object
Constructor and Description |
---|
Selection(com.ibm.json.java.JSONObject selection) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivityId(int l) |
com.ibm.json.java.JSONArray |
getActivityIds()
Should never be null, but might be empty
|
java.lang.String |
getColumn() |
java.lang.Object |
getColumnValue() |
java.lang.String |
getCurrentRowId() |
java.lang.String |
getCurrentRowParentId() |
java.lang.String |
getFirstActivity() |
java.lang.String |
getFirstResource() |
java.lang.String |
getResourceId(int l) |
com.ibm.json.java.JSONArray |
getResourceIds()
Should never be null, but might be empty
|
boolean |
hasActivities() |
boolean |
hasMultipleActivities() |
boolean |
hasMultipleResources() |
boolean |
hasResources() |
boolean |
isGanttOrNameSelected() |
boolean |
isGanttSelected() |
boolean |
isNameSelected() |
boolean |
isResourceViewSelection() |
boolean |
isSingeActivitySelected() |
boolean |
isSingeResourcedSelected() |
boolean |
isValidResourceColumn(MXGanttModel model) |
java.lang.String |
toActivityIdCommaString() |
java.lang.String[] |
toActivityIdStringArray() |
java.lang.String |
toResourceIdCommaString() |
java.lang.String[] |
toResourceIdStringArray() |
java.lang.String |
toString() |
public com.ibm.json.java.JSONArray getActivityIds()
public com.ibm.json.java.JSONArray getResourceIds()
public java.lang.String getCurrentRowId()
public java.lang.String getCurrentRowParentId()
public boolean isResourceViewSelection()
public java.lang.String getColumn()
public java.lang.Object getColumnValue()
public boolean isGanttSelected()
public boolean isNameSelected()
public boolean isGanttOrNameSelected()
public boolean isValidResourceColumn(MXGanttModel model)
public boolean hasActivities()
public boolean hasResources()
public java.lang.String getFirstActivity()
public java.lang.String getFirstResource()
public boolean hasMultipleResources()
public boolean hasMultipleActivities()
public boolean isSingeResourcedSelected()
public boolean isSingeActivitySelected()
public java.lang.String toResourceIdCommaString()
public java.lang.String toActivityIdCommaString()
public java.lang.String getResourceId(int l)
public java.lang.String getActivityId(int l)
public java.lang.String[] toActivityIdStringArray()
public java.lang.String[] toResourceIdStringArray()
public java.lang.String toString()
toString
in class java.lang.Object