|
|||||||||||||||||||
This license of Clover is provided to support the development of Flock only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Border.java | - | 0% | 0% | 0% |
|
1 |
package net.sf.flock.webapp.components; |
|
2 |
|
|
3 |
import net.sf.tapestry.BaseComponent; |
|
4 |
|
|
5 |
public class Border extends BaseComponent { |
|
6 |
|
|
7 |
private String pageName; |
|
8 |
|
|
9 | 0 |
public void setPageName(String pageName) { |
10 | 0 |
this.pageName = pageName; |
11 |
} |
|
12 |
|
|
13 | 0 |
public String getPageName() { |
14 | 0 |
return this.pageName; |
15 |
} |
|
16 |
|
|
17 | 0 |
public boolean getDisablePageLink() { |
18 | 0 |
return this.pageName.equals( this.getPage().getName() ); |
19 |
} |
|
20 |
|
|
21 | 0 |
public boolean isInspectorDisabled() { |
22 | 0 |
return true; |
23 |
} |
|
24 |
|
|
25 |
} |
|
26 |
|
|