mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
Extras: made enums in text components public (issue #117)
This commit is contained in:
@@ -44,7 +44,7 @@ public class FlatFormattedTextField
|
|||||||
|
|
||||||
|
|
||||||
// NOTE: enum names must be equal to allowed strings
|
// NOTE: enum names must be equal to allowed strings
|
||||||
enum SelectAllOnFocusPolicy { never, once, always };
|
public enum SelectAllOnFocusPolicy { never, once, always };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether all text is selected when the text component gains focus.
|
* Returns whether all text is selected when the text component gains focus.
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class FlatPasswordField
|
|||||||
|
|
||||||
|
|
||||||
// NOTE: enum names must be equal to allowed strings
|
// NOTE: enum names must be equal to allowed strings
|
||||||
enum SelectAllOnFocusPolicy { never, once, always };
|
public enum SelectAllOnFocusPolicy { never, once, always };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether all text is selected when the text component gains focus.
|
* Returns whether all text is selected when the text component gains focus.
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class FlatTextField
|
|||||||
|
|
||||||
|
|
||||||
// NOTE: enum names must be equal to allowed strings
|
// NOTE: enum names must be equal to allowed strings
|
||||||
enum SelectAllOnFocusPolicy { never, once, always };
|
public enum SelectAllOnFocusPolicy { never, once, always };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether all text is selected when the text component gains focus.
|
* Returns whether all text is selected when the text component gains focus.
|
||||||
|
|||||||
Reference in New Issue
Block a user