forked from software-mansion/react-native-enriched-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnrichedMarkdownTextInputManagerInterface.java
More file actions
52 lines (49 loc) · 2.14 KB
/
Copy pathEnrichedMarkdownTextInputManagerInterface.java
File metadata and controls
52 lines (49 loc) · 2.14 KB
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
49
50
51
52
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/
package com.facebook.react.viewmanagers;
import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
public interface EnrichedMarkdownTextInputManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
void setDefaultValue(T view, @Nullable String value);
void setPlaceholder(T view, @Nullable String value);
void setPlaceholderTextColor(T view, @Nullable Integer value);
void setEditable(T view, boolean value);
void setAutoFocus(T view, boolean value);
void setScrollEnabled(T view, boolean value);
void setAutoCapitalize(T view, @Nullable String value);
void setMultiline(T view, boolean value);
void setCursorColor(T view, @Nullable Integer value);
void setSelectionColor(T view, @Nullable Integer value);
void setMarkdownStyle(T view, @Nullable ReadableMap value);
void setColor(T view, @Nullable Integer value);
void setFontSize(T view, float value);
void setLineHeight(T view, float value);
void setFontFamily(T view, @Nullable String value);
void setFontWeight(T view, @Nullable String value);
void setIsOnChangeMarkdownSet(T view, boolean value);
void setContextMenuItems(T view, @Nullable ReadableArray value);
void setLinkRegex(T view, @Nullable ReadableMap value);
void focus(T view);
void blur(T view);
void setValue(T view, String markdown);
void setSelection(T view, int start, int end);
void toggleBold(T view);
void toggleItalic(T view);
void toggleUnderline(T view);
void toggleStrikethrough(T view);
void toggleSpoiler(T view);
void setLink(T view, String url);
void insertLink(T view, String text, String url);
void removeLink(T view);
void requestMarkdown(T view, int requestId);
void requestCaretRect(T view, int requestId);
}