"custom component" is a generic term for a manually developed UI component for a component based UI framework. When using JSF, please don't confuse this with "composite component", where the component is definied by XHTML using cc:xxx tags instead of by a Java class extending UIComponent.
Questions tagged [custom-component]
1083 questions
0
votes
0 answers
Flex spark to 'wear' button skin for dropdownlist component
I have a custom dropdownlist component (inherited from a previous project). I would like to 'wear' a button skin for this custom dropdownlist (The custom dropdownlist's behaviors are unchanged).
Is this possible and if possible, how can I implement…

Hai-Binh LE
- 167
- 1
- 12
0
votes
2 answers
Layout and its elements cannot be added to any activity
I develop support classes for my application in another project, and later, I add it to my app. I have made a class that shows a dialog, and works perfectly in its project, but when I add it to my app's project doesn't recognize the layout and its…

jramirez
- 486
- 9
- 24
0
votes
1 answer
Use a Dialog instead an option menu on ICS
I want to use a dialog as option menu in my application, the problem is I've understood that smartphones without buttons only show the menu button if the activity have an action menu implemented.
How can I show a Dialog instead a Menu without lost…

jramirez
- 486
- 9
- 24
0
votes
1 answer
Creating Clickable areas on screen with PyGtk
Hey guys I've run into a problem that I don't know how to solve. I just met with a team to design a GUI in python using PyGtk.
I need to make a GUI that has clickable areas on screen. I need to divide the screen up into 12 equal areas with one…

rguairno
- 13
- 5
0
votes
2 answers
design a custom view like a tool tip
Does any one have any idea of creating a custom component like the below image instead of using the image itself.
I know how to create a rectangle (a rounded one using the xml and not in java) which was discussed in the link here but i am not able…

G_S
- 7,068
- 2
- 21
- 51
0
votes
1 answer
How to fix GridBagConstraint's anchor with custom component?
I made a custom component so I could display images and the like, but it refuses to use anchor properly and centers at the top. Does anyone have a fix? Also, if anyone can point me to an easier layout I might switch, but I already use a lot of…

Octavia Togami
- 4,186
- 4
- 31
- 49
0
votes
2 answers
How to add a custom component in real-time?
Okay, I created a custom component under the namespace My_Namespace. Then somewhere in the code I'm trying to add my custom component in real-time:
public void Some_Method()
{
My_Namespace.My_Custom_Component my_component;
my_component.Location…

TheScholar
- 2,527
- 5
- 23
- 25
0
votes
1 answer
Add any android-view to custom view
I have a simple View inside CustomDialog:
public class ColorPickerDialog extends Dialog
{
private static class ColorPickerView extends View
{
ColorPickerView(Context c, int color)
{
super(c);
…

Leo
- 3,003
- 5
- 38
- 61
0
votes
2 answers
Custom Flex 3 Container
I'd like to create a custom Container in Flex 3.
I want this container to have an inner container which is either a TabNavigator or a VBox, depending on some flag the user sets. This flag won't change once the page is rendered, so I don't need to…

Ivan Salazar
- 296
- 2
- 12
0
votes
1 answer
JSF: Use component with changed Renderer with other Namespace
I wrote an new renderer for a primefaces component, now i want to make have this "new" component available under a new namespace:
I created a new taglib for that:

Nick Russler
- 4,608
- 6
- 51
- 88
0
votes
2 answers
how to access the parent application property inside item renderer
I have a datagrid which has 3 columns in main application. In the third column I want to use the item renderer where I want to use hbox which has two components inside it. One is a button and one is a label. I also have a slider in the main…

nitin
- 75
- 1
- 12
0
votes
1 answer
Activity with dynamicly added components freezes
My Application freezes and LogCat grows heap (frag case) to 14mb if add more then 3 own "components" to current activity/layout. It takes very long until the fourth "component" is added and Android asks to close my application.
I've written a…

float
- 1,265
- 5
- 22
- 38
0
votes
1 answer
Custom shapes for different screen sizes in android
I have Custom view which draws a series of rectangle shapes within the view.
I have extended the View and overriden the onDraw method.
This is contructor(adding just the important part)
public CustomDrawableView(Context mContext , AttributeSet…

user1738744
- 13
- 1
0
votes
1 answer
Can't access public properties of my Class
I'm still learning about object oriented programming...
I made my own simple button class to do horizontal buttons lists. I works fine, but...
package as3Classes {
import flash.display.Graphics;
import flash.display.Sprite;
import…

Gustavo
- 1,673
- 4
- 24
- 39
0
votes
1 answer
Can I use custome components created in flex in flash project?
I created flash project in flash builder and a flash component project and then created a spark component in flex component project. When I tried to add the custom component in the flash it thrown error
//code
this.addChild(new…

dejjub-AIS
- 1,501
- 2
- 24
- 50