demomenuitem.java
来自「adf-faces 甲骨文的jsf组件,功能很强.开源免费.」· Java 代码 · 共 100 行
JAVA
100 行
package oracle.adfdemo.view.faces.menu;
import java.io.Serializable;
import java.util.List;
import oracle.adf.view.faces.component.core.nav.CoreCommandMenuItem;
public class DemoMenuItem implements Serializable
{
public DemoMenuItem()
{}
public void setLabel(String label)
{
_label = label;
}
public String getLabel()
{
return _label;
}
public void setOutcome(String outcome)
{
_outcome = outcome;
}
public String getOutcome()
{
return _outcome;
}
public void setViewId(String viewId)
{
_viewId = viewId;
}
public String getViewId()
{
return _viewId;
}
// calling this 'ico' instead of 'icon' due to tree bug
public void setIco(String icon)
{
_icon = icon;
}
// calling this 'ico' instead of 'icon' due to tree bug
public String getIco()
{
return _icon;
}
public void setType(String type)
{
_type = type;
}
public String getType()
{
return _type;
}
public void setDestination(String destination)
{
_destination = destination;
}
public String getDestination()
{
return _destination;
}
public List getChildren()
{
return _children;
}
public void setChildren(List children)
{
_children = children;
}
private String _label = null;
private String _outcome = null;
private String _viewId = null;
private String _destination = null;
private String _icon = null;
private String _type = CoreCommandMenuItem.TYPE_DEFAULT;
private List _children = null;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?