imenuitem.java
来自「一个实用工具类」· Java 代码 · 共 90 行
JAVA
90 行
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file. */package org.butor.web.menu;/** * Interface for accessing the menu item details. * * @author Nguyen The Hung */public interface IMenuItem extends IBranch { /** * Return the current node sequence order. * @return int */ public int getSequence(); /** * Return the function code. * @return java.lang.String */ public String[] getFunctionCodes(); /** * Set the label key for the current node. * @return java.lang.String */ public void setLabelKey(String labelKey); /** * Return the label key for the current node. * @return java.lang.String */ public String getLabelKey(); /** * Set the label for the current node. * @return java.lang.String */ public void setLabel(String label); /** * Return the label for the current node. * @return java.lang.String */ public String getLabel(); /** * Return the action for the current node. * @return java.lang.String */ public String getAction(); /** * Set the action for the current node. * @return java.lang.String */ public void setAction(String action); /** * Return the image url for the current node. * @return java.lang.String */ public String getImageUrl(); public boolean isTitledAction(); public String getActionWithTitle(); public String getTarget(); public String getImageOverUrl(); public String getImageClickUrl(); public boolean isImageDependOnLanguage(); public int getHeight(); public int getWidth(); /** * Return the tag for the current node. * @return java.lang.String */ public String getTag(); /** * Set the tag for the current node. * @param action java.lang.String */ public void setTag(String tag);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?