BrightSide Workbench Full Report + Source Code
org.turro.tags.TagsChosenbox Class Reference
Inheritance diagram for org.turro.tags.TagsChosenbox:
Collaboration diagram for org.turro.tags.TagsChosenbox:

Public Member Functions

void setRootFilter (String rootFilter)
 
void setEntityPath (String entityPath)
 
String getEntityPath ()
 
Set< TagItemgetObjectValues ()
 
void setObjectValues (Collection< TagItem > internalValues)
 
void addToModel (TagItem value)
 
void afterCompose ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file TagsChosenbox.java.

Member Function Documentation

◆ addToModel()

void org.turro.tags.TagsChosenbox.addToModel ( TagItem  value)

Definition at line 58 of file TagsChosenbox.java.

58  {
59  ((ListModelList) getModel()).add(value);
60  Set set = getSelectedObjects();
61  set.add(value);
62  setSelectedObjects(set);
63  }
Here is the caller graph for this function:

◆ afterCompose()

void org.turro.tags.TagsChosenbox.afterCompose ( )

Definition at line 66 of file TagsChosenbox.java.

66  {
67  if(!populated) {
68  populateList();
69  populated = true;
70  if (internalValues != null) {
71  setObjectValues(internalValues);
72  internalValues = null;
73  } else {
74  setObjectValues(null);
75  }
76  }
77  }
void setObjectValues(Collection< TagItem > internalValues)
Here is the call graph for this function:

◆ getEntityPath()

String org.turro.tags.TagsChosenbox.getEntityPath ( )

Definition at line 46 of file TagsChosenbox.java.

46  {
47  return entityPath;
48  }

◆ getObjectValues()

Set<TagItem> org.turro.tags.TagsChosenbox.getObjectValues ( )

Definition at line 50 of file TagsChosenbox.java.

50  {
51  return getSelectedObjects();
52  }
Here is the caller graph for this function:

◆ setEntityPath()

void org.turro.tags.TagsChosenbox.setEntityPath ( String  entityPath)

Definition at line 41 of file TagsChosenbox.java.

41  {
42  this.entityPath = entityPath;
43  setObjectValues(Tags.getTags(entityPath));
44  }
Here is the call graph for this function:

◆ setObjectValues()

void org.turro.tags.TagsChosenbox.setObjectValues ( Collection< TagItem internalValues)

Definition at line 54 of file TagsChosenbox.java.

54  {
55  if(internalValues != null) setSelectedObjects(internalValues);
56  }
Here is the caller graph for this function:

◆ setRootFilter()

void org.turro.tags.TagsChosenbox.setRootFilter ( String  rootFilter)

Definition at line 37 of file TagsChosenbox.java.

37  {
38  this.rootFilter = rootFilter;
39  }

The documentation for this class was generated from the following file: