Skip to content

Method: toString()

1: package gui.wrapperobjects;
2:
3: import basic.GuiConstants;
4:
5: /**
6: * Wrapper class for the tree root.
7: */
8: public class RootWrapper implements TreeElement {
9:         /**
10:          * The RootWrapper constructor.
11:          */
12:         public RootWrapper() {
13:         }
14:
15:         @Override
16:         public String toString() {
17:                 return GuiConstants.ROUTERSOFTWARE;
18:         }
19:
20:         @Override
21:         public void accept(final TreeElementVisitor vis) {
22:                 vis.visit(this);
23:         }
24: }