BrightSide Workbench Full Report + Source Code
org.turro.elephant.impl.navigation.DefaultNavigatorItem Class Reference
Inheritance diagram for org.turro.elephant.impl.navigation.DefaultNavigatorItem:
Collaboration diagram for org.turro.elephant.impl.navigation.DefaultNavigatorItem:

Public Member Functions

 DefaultNavigatorItem (String name, String url, String target)
 
 DefaultNavigatorItem (String name, String url, String target, boolean active)
 
String getName ()
 
String getUrl ()
 
String getTarget ()
 
boolean isActive ()
 
String getDescription ()
 
void setDescription (String description)
 
Collection< NavigatorItemgetChildren ()
 
void addChild (NavigatorItem item)
 
boolean getInPath ()
 
boolean getInRole ()
 

Detailed Description

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

Definition at line 28 of file DefaultNavigatorItem.java.

Constructor & Destructor Documentation

◆ DefaultNavigatorItem() [1/2]

org.turro.elephant.impl.navigation.DefaultNavigatorItem.DefaultNavigatorItem ( String  name,
String  url,
String  target 
)

Definition at line 34 of file DefaultNavigatorItem.java.

34  {
35  this(name, url, target, false);
36  }

◆ DefaultNavigatorItem() [2/2]

org.turro.elephant.impl.navigation.DefaultNavigatorItem.DefaultNavigatorItem ( String  name,
String  url,
String  target,
boolean  active 
)

Definition at line 38 of file DefaultNavigatorItem.java.

38  {
39  this.name = name;
40  this.url = url;
41  this.target = target;
42  this.active = active;
43  }

Member Function Documentation

◆ addChild()

void org.turro.elephant.impl.navigation.DefaultNavigatorItem.addChild ( NavigatorItem  item)

Definition at line 79 of file DefaultNavigatorItem.java.

79  {
80  if(children == null) {
81  children = new ArrayList<>();
82  }
83  children.add(item);
84  }

◆ getChildren()

Collection<NavigatorItem> org.turro.elephant.impl.navigation.DefaultNavigatorItem.getChildren ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Reimplemented in org.turro.elephant.impl.navigation.ContextNavigatorItem.

Definition at line 75 of file DefaultNavigatorItem.java.

75  {
76  return children;
77  }

◆ getDescription()

String org.turro.elephant.impl.navigation.DefaultNavigatorItem.getDescription ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Definition at line 66 of file DefaultNavigatorItem.java.

66  {
67  return description;
68  }

◆ getInPath()

boolean org.turro.elephant.impl.navigation.DefaultNavigatorItem.getInPath ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Reimplemented in org.turro.elephant.impl.navigation.ContextNavigatorItem.

Definition at line 87 of file DefaultNavigatorItem.java.

87  {
88  return false;
89  }

◆ getInRole()

boolean org.turro.elephant.impl.navigation.DefaultNavigatorItem.getInRole ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Reimplemented in org.turro.elephant.impl.navigation.ContextNavigatorItem.

Definition at line 92 of file DefaultNavigatorItem.java.

92  {
93  return true;
94  }

◆ getName()

String org.turro.elephant.impl.navigation.DefaultNavigatorItem.getName ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Definition at line 46 of file DefaultNavigatorItem.java.

46  {
47  return name;
48  }

◆ getTarget()

String org.turro.elephant.impl.navigation.DefaultNavigatorItem.getTarget ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Definition at line 56 of file DefaultNavigatorItem.java.

56  {
57  return target;
58  }

◆ getUrl()

String org.turro.elephant.impl.navigation.DefaultNavigatorItem.getUrl ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Definition at line 51 of file DefaultNavigatorItem.java.

51  {
52  return url;
53  }

◆ isActive()

boolean org.turro.elephant.impl.navigation.DefaultNavigatorItem.isActive ( )

Implements org.turro.elephant.impl.navigation.NavigatorItem.

Definition at line 61 of file DefaultNavigatorItem.java.

61  {
62  return active;
63  }

◆ setDescription()

void org.turro.elephant.impl.navigation.DefaultNavigatorItem.setDescription ( String  description)

Definition at line 70 of file DefaultNavigatorItem.java.

70  {
71  this.description = description;
72  }

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