|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ds.fw.types.FwSimpleObject
|
+--com.ds.fw.dv.list.FwDVActions
This class manipulates collections of links and appropriate actions for the edit table.
| Field Summary | |
java.util.Vector |
actions
a vector with actions related with the links |
java.util.Vector |
links
a vector with links |
long |
viewType
If the actions has to be displayed |
| Constructor Summary | |
FwDVActions()
Default constructor. |
|
| Method Summary | |
void |
actionClear()
Clears the actions collection. |
void |
addAction(int s)
Adds action to the end of the actions collection. |
void |
addAction(java.lang.String s,
java.lang.String name,
int type)
Adds action to the end of the actions collection. |
void |
addLink(com.ds.fw.dv.list.FwDVActionsLink s)
Adds a link to the end of the links vector. |
int |
getAction(int i)
Gets an action by index. |
com.ds.fw.dv.list.FwDVActionsLink |
getAction1(int i)
Gets the link for an action with index i. |
com.ds.fw.dv.list.FwDVActionsLink |
getLink(int i)
Gets a link by index. |
int |
getNBActions()
Gets the number of available actions. |
java.lang.String |
getURL(int i,
com.ds.fw.dv.list.FwDVListData data,
int row,
com.ds.fw.dv.list.FwDVListProperties op,
com.ds.fw.dv.params.FwDVParams param)
Gets a URL by index. |
long |
getViewType()
|
int |
isValidLink(int li)
Checks if the link by index li is valid. |
void |
setAction(int i,
int s)
Sets an action by index. |
void |
setLink(int i,
com.ds.fw.dv.list.FwDVActionsLink s)
Sets a link by index. |
void |
setViewType(long l)
|
| Methods inherited from class com.ds.fw.types.FwSimpleObject |
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString, toStringValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public long viewType
public java.util.Vector links
public java.util.Vector actions
| Constructor Detail |
public FwDVActions()
| Method Detail |
public long getViewType()
public void setViewType(long l)
public com.ds.fw.dv.list.FwDVActionsLink getLink(int i)
i - the index
public void setLink(int i,
com.ds.fw.dv.list.FwDVActionsLink s)
i - index of the link to be sets - the link to be setpublic void addLink(com.ds.fw.dv.list.FwDVActionsLink s)
s - the link to be addpublic int isValidLink(int li)
li - link index
public int getNBActions()
public void actionClear()
public int getAction(int i)
i - the index
public com.ds.fw.dv.list.FwDVActionsLink getAction1(int i)
i - action index
public void setAction(int i,
int s)
i - the indexs - the action to be setpublic void addAction(int s)
s - action to be added
public void addAction(java.lang.String s,
java.lang.String name,
int type)
s - the action's linkname - the name of the actiontype - the type of the action
public java.lang.String getURL(int i,
com.ds.fw.dv.list.FwDVListData data,
int row,
com.ds.fw.dv.list.FwDVListProperties op,
com.ds.fw.dv.params.FwDVParams param)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||