io.github.moosbusch.permagon.configuration.builder.PermagonBuilder.java Source code

Java tutorial

Introduction

Here is the source code for io.github.moosbusch.permagon.configuration.builder.PermagonBuilder.java

Source

/*
 * Copyright 2015 Gunnar Kappei.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.github.moosbusch.permagon.configuration.builder;

import java.util.Map;
import javafx.util.Builder;
import org.apache.commons.beanutils.Converter;

/**
 *
 * @author Gunnar Kappei
 */
public interface PermagonBuilder<T> extends Builder<T>, Map<String, Object> {

    public static final String NODE_CHILDREN_PROPERTY = "children";
    public static final String NODE_PROPERTIES_PROPERTY = "properties";
    public static final String NODE_ITEMS_PROPERTY = "items";
    public static final String NODE_TABS_PROPERTY = "tabs";
    public static final String NODE_BUTTONS_PROPERTY = "buttons";
    public static final String NODE_PANES_PROPERTY = "panes";
    public static final String NODE_MENUS_PROPERTY = "menus";
    public static final String NODE_CONTENT_PROPERTY = "content";

    public void getConverter(Class<?> key);

    public void setConverter(Class<?> key, Converter value);

    public void removeConverter(Class<?> key, Converter value);
}