forked from mr5/icarus-android
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Button.java
48 lines (35 loc) · 1.62 KB
/
Button.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.github.mr5.icarus.button;
import com.github.mr5.icarus.popover.Popover;
public interface Button {
public static final String NAME_TITLE = "title";
public static final String NAME_BOLD = "bold";
public static final String NAME_ITALIC = "italic";
public static final String NAME_UNDERLINE = "underline";
public static final String NAME_STRIKETHROUGH = "strikethrough";
public static final String NAME_FONT_SCALE = "fontScale";
public static final String NAME_COLOR = "color";
public static final String NAME_OL = "ol";
public static final String NAME_UL = "ul";
public static final String NAME_BLOCKQUOTE = "blockquote";
public static final String NAME_CODE = "code";
public static final String NAME_TABLE = "table";
public static final String NAME_LINK = "link";
public static final String NAME_IMAGE = "image";
public static final String NAME_HR = "hr";
public static final String NAME_INDENT = "indent";
public static final String NAME_OUTDENT = "outdent";
public static final String NAME_ALIGN_LEFT = "alignLeft";
public static final String NAME_ALIGN_CENTER = "alignCenter";
public static final String NAME_ALIGN_RIGHT = "alignRight";
public static final String NAME_HTML = "html";
public void setName(String name);
public String getName();
public boolean isEnabled();
public void setEnabled(boolean enabled);
public boolean isActivated();
public void setActivated(boolean activated);
public void command();
public void resetStatus();
public void setPopover(Popover popover);
public Popover getPopover();
}