ipercentage.java

来自「ktable 是一个由java开发的,对控制报表的项目,它最大的特点是使用独特的」· Java 代码 · 共 30 行

JAVA
30
字号
/*
 * Copyright (C) 2004 by Friederich Kupzog Elektronik & Software
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package de.kupzog.ktable.renderers;

/**
 * Interface that provides access to a percentage value.
 * This is currently only used for the BarDiagramCellRenderer to determine
 * the length of the bar to render.
 * 
 * @author Lorenz Maierhofer <lorenz.maierhofer@logicmindguide.com>
 */
public interface IPercentage {

    /**
     * @return Returns a percentage value between 0 and 1.
     */
    public float getPercentage();
    
    /**
     * @return Returns the absolute value that was responsible
     * for the percentage value. 
     */
    public float getAbsoluteValue();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?