Package org.fest.swing.format
Class JTreeFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JTreeFormatter
- All Implemented Interfaces:
ComponentFormatter
Understands a formatter for
JTree
s.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
private String
selectionMode
(JTree tree) private String[]
selectionPaths
(JTree tree) Indicates that this formatter supports
only.JTree
Methods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
EMPTY
-
SELECTION_MODES
-
-
Constructor Details
-
JTreeFormatter
public JTreeFormatter()
-
-
Method Details
-
doFormat
- Specified by:
doFormat
in classComponentFormatterTemplate
- Parameters:
c
- the givenComponent
.- Returns:
- the
String
representation of the givenJTree
.
-
selectionPaths
-
selectionMode
-
targetType
Indicates that this formatter supports
only.JTree
- Returns:
JTree.class
.
-