|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
fr.inra.refcomp.client.agent.SkillsTableScreen
public class SkillsTableScreen
User: couteau Date: 31/12/10
| Nested Class Summary | |
|---|---|
protected class |
SkillsTableScreen.IdButton
Button that know the id of the skill it is referring |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary | |
|---|---|
protected List<Frequency> |
cachedFrequencies
|
static int |
COMMENT_COL
|
static int |
DELETE_SKILL_COL
|
static int |
DOMAIN_SKILL_COL
|
static int |
DOMAIN_SKILL_EDIT_COL
|
static int |
DOMAIN_SKILL_ID_COL
|
protected Boolean |
edition
Boolean to know if the screen is in edition state or only reading. |
static int |
FREQUENCY_COL
|
static int |
FREQUENCY_ID_COL
|
static int |
RIGHT_COL
|
static int |
SHOW_PATH_COL
|
static int |
SKILL_ID_COL
|
protected List<AgentSkill> |
skillsList
|
static int |
TECH_SKILL_COL
|
static int |
TECH_SKILL_EDIT_COL
|
static int |
TECH_SKILL_ID_COL
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
SkillsTableScreen()
|
|
SkillsTableScreen(Boolean edition)
Init the screen. |
|
SkillsTableScreen(String agentId)
|
|
| Method Summary | |
|---|---|
protected void |
displayEditionSkill(AgentSkill skill,
EntitiesList dependencies)
Add a skill in edition mode |
protected void |
displayReadingSkill(AgentSkill skill,
EntitiesList dependencies)
Add a skill in reading mode |
protected AgentSkill |
getSkill(String id)
|
protected void |
init()
Init the Composite and the frequencies cache |
void |
initEditionMode()
|
protected void |
initTable()
Init the table with column headers |
protected void |
removeSkill(String skillId)
|
protected void |
setColumnVisible(int col,
boolean b)
Show/hide a column |
protected void |
setEditionMode()
Display/Hide the right columns for edition mode |
protected void |
setReadingMode()
Display/hide the right columns for reading mode |
protected void |
setTechnicalSkill(int row,
Skill skill)
|
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int TECH_SKILL_COL
public static int TECH_SKILL_EDIT_COL
public static int DOMAIN_SKILL_COL
public static int DOMAIN_SKILL_EDIT_COL
public static int FREQUENCY_COL
public static int COMMENT_COL
public static int RIGHT_COL
public static int SHOW_PATH_COL
public static int DELETE_SKILL_COL
public static int DOMAIN_SKILL_ID_COL
public static int TECH_SKILL_ID_COL
public static int FREQUENCY_ID_COL
public static int SKILL_ID_COL
protected List<Frequency> cachedFrequencies
protected List<AgentSkill> skillsList
protected Boolean edition
| Constructor Detail |
|---|
public SkillsTableScreen()
public SkillsTableScreen(Boolean edition)
edition - true for edition mode, false for readingpublic SkillsTableScreen(String agentId)
| Method Detail |
|---|
public void initEditionMode()
protected void displayEditionSkill(AgentSkill skill,
EntitiesList dependencies)
skill - the skill to adddependencies - the EntitiesList containing the dependencies
protected void displayReadingSkill(AgentSkill skill,
EntitiesList dependencies)
skill - the skill to adddependencies - the dependencies for displayingprotected void setEditionMode()
protected void setReadingMode()
protected void initTable()
protected void setColumnVisible(int col,
boolean b)
col - the column numberb - true to set visible, false to hideprotected void init()
protected void setTechnicalSkill(int row,
Skill skill)
protected void removeSkill(String skillId)
protected AgentSkill getSkill(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||