java.lang.Object | |
↳ | chan.text.CommentEditor |
![]() |
This class is used to handle comment input when user writes new post.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CommentEditor.BulletinBoardCodeCommentEditor | Implementation of |
||||||||||
CommentEditor.WakabaMarkCommentEditor | Implementation of |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FLAG_ONE_LINE | Flag for tags that work only being in one line. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a new tag to handle. | |||||||||||
Add a new tag to handle. | |||||||||||
Sets a ordered list mark. | |||||||||||
Sets a unordered list mark. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Flag for tags that work only being in one line.
Add a new tag to handle. what
argument must be one of tag constants from ChanMarkup
.
Parameters | |
---|---|
what |
int :
Tag to handle. |
open |
String :
Open tag string. |
close |
String :
Close tag string.
|
Add a new tag to handle. what
argument must be one of tag constants from ChanMarkup
.
Parameters | |
---|---|
what |
int :
Tag to handle. |
open |
String :
Open tag string. |
close |
String :
Close tag string. |
flags |
int :
Tag handling flags.
|
Sets a ordered list mark. This mark is using in the beginning of line for transformation to ordered list.
By default it equals null
. That means all lists will begin with number and dot: "1. ", "2. ", etc.
Parameters | |
---|---|
mark |
String :
Ordered list mark.
|
Sets a unordered list mark. This mark is using in the beginning of line for transformation to unordered list.
By default it equals "- "
.
Parameters | |
---|---|
mark |
String :
Unordered list mark.
|