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
JTrees.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprivate StringselectionMode(JTree tree) private String[]selectionPaths(JTree tree) Indicates that this formatter supportsonly.JTreeMethods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
EMPTY
-
SELECTION_MODES
-
-
Constructor Details
-
JTreeFormatter
public JTreeFormatter()
-
-
Method Details
-
doFormat
- Specified by:
doFormatin classComponentFormatterTemplate- Parameters:
c- the givenComponent.- Returns:
- the
Stringrepresentation of the givenJTree.
-
selectionPaths
-
selectionMode
-
targetType
Indicates that this formatter supportsonly.JTree- Returns:
JTree.class.
-