Annotation Interface GuiInitStringField
public @interface GuiInitStringField
initial settings for string-text-field; customizing the display-lines of the filed
@GuiIncluded
public class MyApp {
@GuiIncluded
@GuiInits(stringField = @GuiInitStringField(displayLines=5))
public String getMyStr() { ... } //the displayed field will have 5 lines as multi-lines height.
}
- Since:
- 1.9
-
Optional Element Summary
Optional Elements
-
Element Details
-
displayLines
int displayLines- Returns:
- the display-lines of the text-component ; > 1 means multi-lines, and 1 means the single-line.
- Default:
1
-