From 2957694a7b72c99ca8c04dcdd2c3023df4ec647f Mon Sep 17 00:00:00 2001 From: Alec Henninger Date: Fri, 10 Apr 2015 10:01:53 -0400 Subject: [PATCH 1/2] Add ExpandableTable (name not final) --- .../com/redhat/darcy/ui/api/elements/ExpandableTable.java | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java diff --git a/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java b/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java new file mode 100644 index 0000000..1b07583 --- /dev/null +++ b/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java @@ -0,0 +1,4 @@ +package com.redhat.darcy.ui.api.elements; + +public interface ExpandableTable { +} From 40be7788f24c322aae1ff830ab237be6da628367 Mon Sep 17 00:00:00 2001 From: Alec Henninger Date: Fri, 10 Apr 2015 10:05:12 -0400 Subject: [PATCH 2/2] Add hasMoreRows, getMoreRows --- .../ui/api/elements/ExpandableTable.java | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java b/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java index 1b07583..e8f8cf4 100644 --- a/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java +++ b/src/main/java/com/redhat/darcy/ui/api/elements/ExpandableTable.java @@ -1,4 +1,25 @@ +/* + Copyright 2014 Red Hat, Inc. and/or its affiliates. + + This file is part of darcy-ui. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + */ + package com.redhat.darcy.ui.api.elements; -public interface ExpandableTable { +public interface ExpandableTable> extends Table { + boolean hasMoreRows(); + T showMoreRows(); }