public String toString() {
		String str = getClass().getName();
		str += "[gridx=" + gridx + ",gridy=" + gridy;
		switch (fill) {
		  case VERTICAL: str += ",fill=VERTICAL"; break;
		  case HORIZONTAL: str += ",fill=HORIZONTAL"; break;
		  case BOTH: str += ",fill=BOTH"; break;
		}
		switch (anchor) {
		  case NORTH: str += ",anchor=NORTH"; break;
		  case SOUTH: str += ",anchor=SOUTH"; break;
		  case EAST: str += ",anchor=EAST"; break;
		  case WEST: str += ",anchor=WEST"; break;
		  case NORTHEAST: str += ",anchor=NORTHEAST"; break;
		  case NORTHWEST: str += ",anchor=NORTHWEST"; break;
		  case SOUTHEAST: str += ",anchor=SOUTHEAST"; break;
		  case SOUTHWEST: str += ",anchor=SOUTHWEST"; break;
		  case MY_PAGE_START: str += ",anchor=PAGE_START"; break;
		  case MY_PAGE_END: str += ",anchor=PAGE_END"; break;
		  case MY_LINE_START: str += ",anchor=LINE_START"; break;
		  case MY_LINE_END: str += ",anchor=LINE_END"; break;
		  case MY_FIRST_LINE_START: str += ",anchor=FIRST_LINE_START"; break;
		  case MY_FIRST_LINE_END: str += ",anchor=FIRST_LINE_END"; break;
		  case MY_LAST_LINE_START: str += ",anchor=LAST_LINE_START"; break;
		  case MY_LAST_LINE_END: str += ",anchor=LAST_LINE_END"; break;
		}
		if (gridwidth != 1) str += ",gridwidth=" + gridwidth;
		if (gridheight != 1) str += ",gridheight=" + gridheight;
		if (ipadx != 0) str += ",ipadx=" + ipadx;
		if (ipady != 0) str += ",ipady=" + ipady;
		if (insets.left != 0) str += ",left=" + insets.left;
		if (insets.right != 0) str += ",right=" + insets.right;
		if (insets.top != 0) str += ",top=" + insets.top;
		if (insets.bottom != 0) str += ",bottom=" + insets.bottom;
		if (width != 0) str += ",width=" + width;
		if (height != 0) str += ",height=" + height;
		str += "]";
		return str;
	}