📄 pageelementimpl.java
字号:
package com.component.pagination;
/**
* Implmentation class for PageElement.
* @author chetan_bh
*/
public class PageElementImpl implements PageElement{
/**
* Display name for the hyperlink.
*/
String displayName;
/**
* URL associated with the hyperlink.
*/
String linkURL;
/**
* User Object associated with this hyperlink.
*/
Object userObject;
/**
* Description of the page element.
*/
String description;
/**
* Image location associated with this page element.
*/
String imageLocation;
public PageElementImpl()
{
this("");
}
public PageElementImpl(String displayName)
{
this.displayName = displayName;
}
/**
* Returns description.
*/
public String getDescription() {
return description;
}
/**
* Sets Description.
*/
public void setDescription(String description) {
this.description = description;
}
/**
* Gets display name.
*/
public String getDisplayName() {
return displayName;
}
/**
* Sets display name.
*/
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
/**
* Returns image location.
*/
public String getImageLocation() {
return imageLocation;
}
/**
* Sets image location.
*/
public void setImageLocation(String imageLocation) {
this.imageLocation = imageLocation;
}
/**
* Rteturns url.
*/
public String getLinkURL() {
return linkURL;
}
/**
* Sets url.
*/
public void setLinkURL(String linkURL) {
this.linkURL = linkURL;
}
/**
* Returns user object.
*/
public Object getUserObject() {
return userObject;
}
/**
* Sets user object.
*/
public void setUserObject(Object userObject) {
this.userObject = userObject;
}
public String toString()
{
return displayName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -