Changeset 50 for trunk/src/org/expeditee/gui/Frame.java
- Timestamp:
- 05/16/08 10:25:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/Frame.java
r47 r50 231 231 public List<Text> getBodyTextItems(boolean includeAnnotations) { 232 232 List<Text> bodyTextItems = new ArrayList<Text>(); 233 Text frameTitle = getTitle();234 235 233 for (Item i : getItems()) { 236 234 // only add up normal body text items … … 426 424 427 425 for (Item i : _body) 428 if (i.isVisible() && i != _frameName&& i.intersects(poly)) {426 if (i.isVisible() /*&& i != _frameName*/ && i.intersects(poly)) { 429 427 if (!results.contains(i)) 430 428 results.add(i); … … 730 728 line.getStartItem().addLine(line); 731 729 line.getEndItem().addLine(line); 730 } else { 731 i.setOffset(0, 0); 732 732 } 733 733 } … … 1133 1133 1134 1134 /** 1135 * Creates a new Text Item with no text. The newly created Item is a copy 1136 * the ItemTemplate if one is present, and inherits all the attributes of 1137 * the Template 1138 * 1139 * @return The newly created Text Item 1135 * Creates a new text item with the given text. 1136 * @param text 1137 * @return 1140 1138 */ 1141 1139 public Text createNewText(String text) { … … 1145 1143 } 1146 1144 1145 /** 1146 * Creates a new Text Item with no text. The newly created Item is a copy 1147 * the ItemTemplate if one is present, and inherits all the attributes of 1148 * the Template 1149 * 1150 * @return The newly created Text Item 1151 */ 1147 1152 public Text createBlankText(String templateType) { 1148 1153 Text t;
Note:
See TracChangeset
for help on using the changeset viewer.