001package jmri.server.json.layoutblock; 002 003/** 004 * Tokens used in the JMRI JSON Layout Block service. 005 * 006 * @author Randall Wood (C) 2016 007 */ 008public class JsonLayoutBlock { 009 010 /** 011 * {@value #LAYOUTBLOCK} 012 */ 013 public static final String LAYOUTBLOCK = "layoutBlock"; // NOI18N 014 /** 015 * {@value #LAYOUTBLOCKS} 016 */ 017 public static final String LAYOUTBLOCKS = "layoutBlocks"; // NOI18N 018 /** 019 * {@value #BLOCK_COLOR} 020 */ 021 public static final String BLOCK_COLOR = "blockColor"; // NOI18N 022 /** 023 * {@value #USE_EXTRA_COLOR} 024 */ 025 public static final String USE_EXTRA_COLOR = "useExtraColor"; // NOI18N 026 /** 027 * {@value #TRACK_COLOR} 028 */ 029 public static final String TRACK_COLOR = "trackColor"; // NOI18N 030 /** 031 * {@value #OCCUPIED_COLOR} 032 */ 033 public static final String OCCUPIED_COLOR = "occupiedColor"; // NOI18N 034 /** 035 * {@value #EXTRA_COLOR} 036 */ 037 public static final String EXTRA_COLOR = "extraColor"; // NOI18N 038 /** 039 * {@value #OCCUPANCY_SENSOR} 040 */ 041 public static final String OCCUPANCY_SENSOR = "occupancySensor"; // NOI18N 042 /** 043 * {@value #OCCUPIED_SENSE} 044 */ 045 public static final String OCCUPIED_SENSE = "occupiedSense"; // NOI18N 046 047 /** 048 * Prevent instantiation, since this class only contains static values 049 */ 050 private JsonLayoutBlock() { 051 throw new UnsupportedOperationException("There is no valid instance of this class"); 052 } 053}