You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
641 B
31 lines
641 B
package com.fr.design.fun; |
|
|
|
import com.fr.stable.fun.mark.Immutable; |
|
|
|
/** |
|
* Created by zhouping on 2015/9/20. |
|
*/ |
|
public interface IndentationUnitProcessor extends Immutable { |
|
String MARK_STRING = "IndentationProcessor"; |
|
|
|
int CURRENT_LEVEL = 1; |
|
|
|
|
|
int getIndentationUnit(); |
|
|
|
void setIndentationUnit(int value); |
|
|
|
/** |
|
* 处理paddingunit |
|
* @param value 输入 |
|
* @return 输出 |
|
*/ |
|
int paddingUnitProcessor(int value); |
|
|
|
/** |
|
* 从spinner获得缩进值,并处理后变成paddingunit |
|
* @param value 输入值 |
|
* @return 输出 |
|
*/ |
|
int paddingUnitGainFromSpinner(int value); |
|
} |