public String getStyle() {
        String returnedString = style; /* Style string returned */
        if (style == null) {
            if (this.isRoot()) {
                returnedString = getFrame().getProperty(
                        FreeMind.RESOURCES_ROOT_NODE_STYLE);
            } else {
                String stdstyle = getFrame().getProperty(
                        FreeMind.RESOURCES_NODE_STYLE);
                if (stdstyle.equals(MindMapNode.STYLE_AS_PARENT)) {
                    returnedString = getParentNode().getStyle();
                } else {
                    returnedString = stdstyle;
                }
            }
        } else if (this.isRoot() && style.equals(MindMapNode.STYLE_AS_PARENT)) {
            returnedString = getFrame().getProperty(
                    FreeMind.RESOURCES_ROOT_NODE_STYLE);
        } else if (style.equals(MindMapNode.STYLE_AS_PARENT)) {
            returnedString = getParentNode().getStyle();
        }

        // Handle the combined node style
        if (returnedString.equals(MindMapNode.STYLE_COMBINED)) {
            if (this.isFolded()) {
                return MindMapNode.STYLE_BUBBLE;
            } else {
                return MindMapNode.STYLE_FORK;
            }
        }
        return returnedString;
    }